Work with BO in ReadOnly Mode ?


Author
Message
Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame User (125 reputation)StrataFrame User (125 reputation)StrataFrame User (125 reputation)StrataFrame User (125 reputation)StrataFrame User (125 reputation)StrataFrame User (125 reputation)StrataFrame User (125 reputation)StrataFrame User (125 reputation)StrataFrame User (125 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hello



I use some BO's only for displaying Data. These BO's are Bound to a DevExpress.Grid



Grid is in readonly mode.



When i navigate through the Grid and then Close form BO ask for save data.



Is there as way to tell BO it should ignore all. i mean something like a READ_Only flag.



thanks



Rainer
Reply
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I believe the BO mapper just serializes the field as a readonly property (no setter). The field would be bindable, so you could bind it to a control in order to view the data, but if you attempted to set the value, you'd get an error.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search