C# Класс Habanero.BO.ClassDefinition.MultipleRelationshipDef

Defines a relationship where the owner may relate to more than one object.
Наследование: RelationshipDef
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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