Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EF attributes that can only be changed from code
Message
From
03/04/2013 15:55:56
 
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01569983
Message ID:
01569986
Views:
32
AFAIK, that's the only way.

>Is it the only way? Say, I still want to be able to change ModifiedOn, ModifiedBy if I am editing and the first two if I am inserting.
>
>In other words, I may want to set ReadOnly attribute but conditionally.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform