9using System.ComponentModel;
10using System.ComponentModel.DataAnnotations;
17 #region Factory Methods
21 return dataPortal.
Create();
26 #region DataPortal Methods
48 [Display(
Name =
"Name: DataAnnotations")]
56 [DisplayName(
"Name: ComponentModel")]
This is the base class from which most business objects will be derived.
Maintains metadata about a property.
static readonly PropertyInfo< System.String > _nameComponentModelProperty
static readonly PropertyInfo< System.String > _nameProperty
Note: We exposed the PropertyInfo's so we can test it...
static readonly PropertyInfo< string > StringNullDefaultValueProperty
string StringNullDefaultValue
static readonly PropertyInfo< string > NameDefaultValueProperty
static readonly PropertyInfo< System.String > _nameFriendlyNameProperty
System.String NameFriendlyName
System.String NameComponentModel
static readonly PropertyInfo< System.String > _nameDataAnnotationsProperty
System.String NameDataAnnotations
static PropertyInfoRoot NewPropertyInfoRoot(IDataPortal< PropertyInfoRoot > dataPortal)
Interface defining the members of the data portal type.
object Create(params object[] criteria)
Called by a factory method in a business class to create a new object, which is loaded with default v...
@ Serializable
Prevents updating or inserting until the transaction is complete.
@ Create
Create operation.