9using System.Collections.Generic;
51 get {
return (DateTime.Now -
Birthdate).Days / 365; }
52 set {
Birthdate = DateTime.Now -
new TimeSpan(value * 365, 0, 0, 0); }
56 private string mUnserialized =
"";
59 get {
return mUnserialized; }
60 set { mUnserialized = value; }
77 get {
return GetProperty(DtoDateProperty); }
78 set { SetProperty(DtoDateProperty, value); }
This is the base class from which most business objects will be derived.
Maintains metadata about a property.
static readonly PropertyInfo< AddressList > AddressesProperty
static readonly PropertyInfo< DateTime > BirthdateProperty
static readonly PropertyInfo< Address > PrimaryAddressProperty
static readonly PropertyInfo< string > NameProperty
@ Serializable
Prevents updating or inserting until the transaction is complete.