StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Override dispose method
Override dispose method
Post Reply
Like
0
Override dispose method
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
ChanKK
ChanKK
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 190,
Visits: 1.3K
Hi
I have added new property to hold / create another BO A within BO C. I would like to have clean up code whenever BO C is dispose. I tried to override Dispose() however, I found that it is generated under designer.cs. How could I have my clean up code outside of designer.cs as it will always be regenerated / overwritten?
Thank you
Reply
Like
0
Greg McGuffey
Greg McGuffey
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
I just move it to the normal file (with your fill methods etc.) and customize it there. Then when it gets overwritten, you'll get a compile error and know to go delete it in the designer again.
I'll investigate a more elegant solution for the future...
Reply
Like
0
ChanKK
ChanKK
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 190,
Visits: 1.3K
I hope SF can provide permanent solution.
Thank you
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search