Guest User

Untitled

a guest
Apr 28th, 2012
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Setting an object property as Ready only Versus Excluding it from the Bind list
  2. {
  3. [MetadataType(typeof(Assessment_Validation))]
  4. [Bind(Exclude = "AssessmentID")]
  5. public partial class Assessment
  6. {
  7.  
  8. [ReadOnly(true)]
  9. public string AssessmentID { get; set; }
Advertisement
Add Comment
Please, Sign In to add comment