9using System.Collections.Generic;
18 [System.Diagnostics.DebuggerNonUserCode]
27 get {
return GetProperty<int>(IdProperty); }
28 set { SetProperty<int>(IdProperty, value); }
33 return dataPortal.
Fetch();
43 [System.Diagnostics.DebuggerNonUserCode]
65 return dataPortal.
Fetch();
This is the base class from which most business objects will be derived.
Maintains metadata about a property.
static BadGetSet GetObject(IDataPortal< BadGetSet > dataPortal)
static readonly PropertyInfo< int > IdTwoProperty
static BadGetSetTwo GetObject(IDataPortal< BadGetSetTwo > dataPortal)
static readonly PropertyInfo< int > IdProperty
Interface defining the members of the data portal type.
object Fetch(params object[] criteria)
Called by a factory method in a business class to retrieve an object, which is loaded with values fro...
@ Serializable
Prevents updating or inserting until the transaction is complete.