StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Undo functionality with custom data properties
Undo functionality with custom data properties
Post Reply
Like
0
Undo functionality with custom data properties
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Greg McGuffey
Greg McGuffey
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 2K,
Visits: 6.6K
How would I implement undo functionality in a BO for custom data properties? They are read/write and bindable. Specifically, I want my custom properties to undo when BO.undo is called.
Reply
Like
0
Replies
Greg McGuffey
Greg McGuffey
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
I'm talking custom properties, defined in the main BO file (not the BO Mapper generated designer file), with the reflectionpropertydescriptor thingy to get binding to work. I'm reading and writing to another table (not sure its a good idea, but sure is easy
) Anyway to get undo (SF undo) to work with these?
Reply
Like
0
Trent Taylor
Trent Taylor
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
If you are updating a table other than the internal data table (CurrentDataTable, CurrentRow, CurrentView...take your pick
) then you will have to handle this in the AfterUndo method yourself. If you have an ADO.NET data table just reject the changes:
MyDataTable.RejectChanges()
Reply
Like
0
Greg McGuffey
Greg McGuffey
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
OK. That's what I needed to known. Thanks!
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Undo functionality with custom data properties
Greg McGuffey
-
19 Years Ago
Well, this would depend on what your custom properties are doing. Are...
Trent L. Taylor
-
19 Years Ago
I'm talking custom properties, defined in the main BO file (not the BO...
Greg McGuffey
-
19 Years Ago
If you are updating a table other than the internal data table...
Trent L. Taylor
-
19 Years Ago
OK. That's what I needed to known. Thanks!
Greg McGuffey
-
19 Years Ago
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