9using System.Collections.Generic;
13using System.Diagnostics;
14using System.ComponentModel.DataAnnotations;
94 return base.CanReadProperty(propertyName);
105 return base.CanWriteProperty(propertyName);
110 using (BypassPropertyChecks)
121 base.OnPropertyChanged(propertyInfo);
138 private void DoInsertUpdate()
142 throw new InvalidProgramException();
This is the base class from which most business objects will be derived.
Maintains metadata about a property.
override bool CanWriteProperty(Csla.Core.IPropertyInfo propertyName)
static readonly PropertyInfo< string > FirstNameProperty
static EditablePerson GetEditablePerson(int authLevel)
override bool CanReadProperty(Csla.Core.IPropertyInfo propertyName)
static readonly PropertyInfo< string > LastNameProperty
static readonly PropertyInfo< int > AuthLevelProperty
static EditablePerson NewEditablePerson()
static EditablePerson GetEditablePerson()
static readonly PropertyInfo< string > PlaceOfBirthProperty
override void OnPropertyChanged(Core.IPropertyInfo propertyInfo)
static readonly PropertyInfo< string > MiddleNameProperty
Maintains metadata about a property.
@ Serializable
Prevents updating or inserting until the transaction is complete.
@ Update
Update operation (includes insert, update and delete self).