C# 클래스 Nettiers.AdventureWorks.Web.Data.EntityRelationship

상속: System.Web.UI.WebControls.WebControl
파일 보기 프로젝트 열기: netTiers/netTiers

Private Properties

프로퍼티 타입 설명
Insert void
Insert void
Insert void
OnAfterInserted void
OnAfterInserting void
OnAfterSelected void
OnAfterUpdated void
OnAfterUpdating void
Remove void
Update void

공개 메소드들

메소드 설명
EntityRelationship ( ) : System

Initializes a new instance of the EntityRelationship class.

보호된 메소드들

메소드 설명
GetLinkList ( Object entity ) : IList

Gets the collection of business objects from the associated LinkMember.

GetList ( Object entity, EntityRelationshipMember member, String listPropertyName ) : IList

Gets the collection of business objects from the specified relationship member.

GetReferenceList ( Object entity ) : IList

Gets the collection of business objects from the associated ReferenceMember.

InsertLink ( IList links, Object foreignKeyValue ) : void

Inserts the specified foreignKeyValue into the collection of business objects.

InsertLink ( Object entity, Object foreignKeyValue ) : void

Inserts the specified foreignKeyValue into the relationship defined by the LinkMember property.

InsertLinks ( ) : void

Inserts any previously cached business object links.

InsertReference ( IList links, IDictionary values ) : void

Inserts the specified name/value pairs into the relationship defined by the ReferenceMember property.

InsertReferences ( ) : void

Inserts any previously cached business object references.

OnLoad ( EventArgs e ) : void

Raises the System.Web.UI.Control.Load event.

RemoveLink ( IList links, Object link ) : void

Removes the specified item from the collection of business objects.

RemoveReference ( IList links, Object link ) : void

Removes the specified item from the collection of business objects.

UpdateControl ( Object entity ) : void

Initializes and updates the control with the relationships held within the specified business object.

UpdateReference ( Object link, IDictionary values ) : void

Updates the specified business object with the specified name/value pairs.

UpdateRelationships ( Object entity ) : void

Updates the specified business object with values bound to the control which represent the current relationships.

비공개 메소드들

메소드 설명
Insert ( EntityRelationshipMember member ) : void

Inserts any previously cached business object references.

Insert ( EntityRelationshipMember member, IList links, IDictionary values ) : void

Inserts the specified name/value pairs into the relationship defined by the specified member.

Insert ( EntityRelationshipMember member, IList links, IDictionary values, bool initEntityKey ) : void

Inserts the specified name/value pairs into the relationship defined by the specified member.

OnAfterInserted ( object sender, LinkedDataSourceEventArgs e ) : void
OnAfterInserting ( object sender, LinkedDataSourceEventArgs e ) : void
OnAfterSelected ( object sender, LinkedDataSourceEventArgs e ) : void
OnAfterUpdated ( object sender, LinkedDataSourceEventArgs e ) : void
OnAfterUpdating ( object sender, LinkedDataSourceEventArgs e ) : void
Remove ( EntityRelationshipMember member, IList links, Object link ) : void

Removes the specified item from the collection of business objects.

Update ( EntityRelationshipMember member, Object link, IDictionary values ) : void

Updates the specified business object with the specified name/value pairs.

메소드 상세

EntityRelationship() 공개 메소드

Initializes a new instance of the EntityRelationship class.
public EntityRelationship ( ) : System
리턴 System

GetLinkList() 보호된 메소드

Gets the collection of business objects from the associated LinkMember.
protected GetLinkList ( Object entity ) : IList
entity Object
리턴 IList

GetList() 보호된 메소드

Gets the collection of business objects from the specified relationship member.
protected GetList ( Object entity, EntityRelationshipMember member, String listPropertyName ) : IList
entity Object
member EntityRelationshipMember The relationship member.
listPropertyName String The property name.
리턴 IList

GetReferenceList() 보호된 메소드

Gets the collection of business objects from the associated ReferenceMember.
protected GetReferenceList ( Object entity ) : IList
entity Object
리턴 IList

InsertLink() 보호된 메소드

Inserts the specified foreignKeyValue into the collection of business objects.
protected InsertLink ( IList links, Object foreignKeyValue ) : void
links IList A collection of business objects.
foreignKeyValue Object The value to insert.
리턴 void

InsertLink() 보호된 메소드

Inserts the specified foreignKeyValue into the relationship defined by the LinkMember property.
protected InsertLink ( Object entity, Object foreignKeyValue ) : void
entity Object
foreignKeyValue Object The value to insert.
리턴 void

InsertLinks() 보호된 메소드

Inserts any previously cached business object links.
protected InsertLinks ( ) : void
리턴 void

InsertReference() 보호된 메소드

Inserts the specified name/value pairs into the relationship defined by the ReferenceMember property.
protected InsertReference ( IList links, IDictionary values ) : void
links IList A collection of business objects.
values IDictionary A collection of name/value pairs to insert.
리턴 void

InsertReferences() 보호된 메소드

Inserts any previously cached business object references.
protected InsertReferences ( ) : void
리턴 void

OnLoad() 보호된 메소드

Raises the System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The System.EventArgs object that contains the event data.
리턴 void

RemoveLink() 보호된 메소드

Removes the specified item from the collection of business objects.
protected RemoveLink ( IList links, Object link ) : void
links IList A collection of business objects.
link Object The item to remove.
리턴 void

RemoveReference() 보호된 메소드

Removes the specified item from the collection of business objects.
protected RemoveReference ( IList links, Object link ) : void
links IList A collection of business objects.
link Object The item to remove.
리턴 void

UpdateControl() 보호된 메소드

Initializes and updates the control with the relationships held within the specified business object.
protected UpdateControl ( Object entity ) : void
entity Object
리턴 void

UpdateReference() 보호된 메소드

Updates the specified business object with the specified name/value pairs.
protected UpdateReference ( Object link, IDictionary values ) : void
link Object The business object to update.
values IDictionary A collection of name/value pairs to update.
리턴 void

UpdateRelationships() 보호된 메소드

Updates the specified business object with values bound to the control which represent the current relationships.
protected UpdateRelationships ( Object entity ) : void
entity Object
리턴 void