Maintains metadata about a property.
This is a base class from which readonly business classes can be derived.
virtual void LoadProperty(IPropertyInfo propertyInfo, object newValue)
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does...
static ReadOnlyPerson GetReadOnlyPerson(string personName, int year)
static readonly PropertyInfo< DateTime > BirthdateProperty
static readonly PropertyInfo< string > NameProperty
@ Serializable
Prevents updating or inserting until the transaction is complete.