2using System.Collections.Generic;
30 return dataPortal.
Create();
This is the base class from which most business objects will be derived.
Maintains metadata about a property.
Tracks the business rules for a business object.
List< string > CheckRules()
Invokes all rules for the business type.
void AddRule(IBusinessRuleBase rule)
Associates a business rule with the business object.
string[] GetRuleDescriptions()
Gets a list of rule:// URI values for the rules defined in the object.
static PropertyInfo< string > SsnProperty
override void AddBusinessRules()
static HasLambdaRules New(IDataPortal< HasLambdaRules > dataPortal)
string[] GetRuleDescriptions()
static PropertyInfo< string > Ssn2Property
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.