|
-
Dec 9th, 2003, 12:21 AM
#1
Thread Starter
New Member
how to set the dirty flag?
now i design a object persistence framework. i hope the O/R mapping class is a pure data class. so the class needn't implement any interface and do not care for anything outside.
it mostly like this:
private m_code as string
private m_name as string
public property get code() as string
code = m_code
end property
public property let code(newValue as string)
m_code = newValue
end property
public property get name() as string
name= m_name
end property
public property let name(newValue as string)
m_name = newValue
end property
it's all.
but when i save it in my framework,i must get the dirty flag(poin out user have change the property's value).
in Java, that maybe be resolved by Dynamic Proxy.
how can i do in VB?
is it impossible?
hope to everyone's answer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|