Hi,
How can I prevent /not allow insert/update/delete for particular class in Entity Developer using NHibernate Designer?
I have tables from Oracle DB from another application. I updated model from database to add new classes based on tables from particular schema. Our application can select data from these new classes. But insert/update/delete are not allowed. What property of the class should be set?
Thanks,
set up class as read only
Re: set up class as read only
Please open your *.hbml model, select the class, press F4 (Properties) and set:
Mutable=False
Constructor Modifier=Protected
Mutable=False
Constructor Modifier=Protected
Re: set up class as read only
It works!
Thank you.
Thank you.