C# 클래스 Habanero.BO.ClassDefinition.MultipleRelationshipDef

Defines a relationship where the owner may relate to more than one object.
상속: RelationshipDef
파일 보기 프로젝트 열기: Chillisoft/habanero 1 사용 예제들

공개 메소드들

메소드 설명
CreateRelationship ( IBusinessObject owningBo, IBOPropCol lBOPropCol ) : IRelationship

Overrides abstract method of parent to facilitate creation of a new Multiple Relationship

MultipleRelationshipDef ( string relationshipName, Type relatedObjectClassType, IRelKeyDef relKeyDef, bool keepReferenceToRelatedObject, string orderBy, DeleteParentAction deleteParentAction ) : System

Constructor to create a new Multiple Relationship Definition

MultipleRelationshipDef ( string relationshipName, string relatedObjectAssemblyName, string relatedObjectClassName, IRelKeyDef relKeyDef, bool keepReferenceToRelatedObject, string orderBy, DeleteParentAction deleteParentAction ) : System

Constructor to create a new single relationship definition

MultipleRelationshipDef ( string relationshipName, string relatedObjectAssemblyName, string relatedObjectClassName, IRelKeyDef relKeyDef, bool keepReferenceToRelatedObject, string orderBy, DeleteParentAction deleteParentAction, InsertParentAction insertParentAction, RelationshipType relationshipType, int timeout ) : System

Constructor to create a new single relationship definition

메소드 상세

CreateRelationship() 공개 메소드

Overrides abstract method of parent to facilitate creation of a new Multiple Relationship
public CreateRelationship ( IBusinessObject owningBo, IBOPropCol lBOPropCol ) : IRelationship
owningBo IBusinessObject The business object that will manage /// this relationship
lBOPropCol IBOPropCol The collection of properties
리턴 IRelationship

MultipleRelationshipDef() 공개 메소드

Constructor to create a new Multiple Relationship Definition
public MultipleRelationshipDef ( string relationshipName, Type relatedObjectClassType, IRelKeyDef relKeyDef, bool keepReferenceToRelatedObject, string orderBy, DeleteParentAction deleteParentAction ) : System
relationshipName string A name for the relationship
relatedObjectClassType System.Type The class type of the related objects
relKeyDef IRelKeyDef The related key definition
keepReferenceToRelatedObject bool Whether to keep a /// reference to the related object. Could be false for memory- /// intensive applications.
orderBy string The sql order-by clause
deleteParentAction DeleteParentAction Provides specific instructions /// with regards to deleting a parent object. See the DeleteParentAction /// enumeration for more detail.
리턴 System

MultipleRelationshipDef() 공개 메소드

Constructor to create a new single relationship definition
public MultipleRelationshipDef ( string relationshipName, string relatedObjectAssemblyName, string relatedObjectClassName, IRelKeyDef relKeyDef, bool keepReferenceToRelatedObject, string orderBy, DeleteParentAction deleteParentAction ) : System
relationshipName string A name for the relationship
relatedObjectAssemblyName string The assembly name of the related object
relatedObjectClassName string The class name of the related object
relKeyDef IRelKeyDef The related key definition
keepReferenceToRelatedObject bool Whether to keep a /// reference to the related object. Could be false for memory- /// intensive applications.
orderBy string The sql order-by clause
deleteParentAction DeleteParentAction Provides specific instructions /// with regards to deleting a parent object. See the DeleteParentAction /// enumeration for more detail.
리턴 System

MultipleRelationshipDef() 공개 메소드

Constructor to create a new single relationship definition
public MultipleRelationshipDef ( string relationshipName, string relatedObjectAssemblyName, string relatedObjectClassName, IRelKeyDef relKeyDef, bool keepReferenceToRelatedObject, string orderBy, DeleteParentAction deleteParentAction, InsertParentAction insertParentAction, RelationshipType relationshipType, int timeout ) : System
relationshipName string A name for the relationship
relatedObjectAssemblyName string The assembly name of the related object
relatedObjectClassName string The class name of the related object
relKeyDef IRelKeyDef The related key definition
keepReferenceToRelatedObject bool Whether to keep a /// reference to the related object. Could be false for memory- /// intensive applications.
orderBy string The sql order-by clause
deleteParentAction DeleteParentAction Provides specific instructions /// with regards to deleting a parent object. See the DeleteParentAction /// enumeration for more detail.
insertParentAction InsertParentAction
relationshipType RelationshipType Provides specific instructions for adding/removing a child object.
timeout int The timout in milliseconds. The collection will not be automatically refreshed from the DB if the timeout has nto expired
리턴 System