C# Class Nettiers.AdventureWorks.Web.Data.OneToManyGridRelationship

Provides management of a one-to-many relationship between a primary table and a child table. This control is specifically designed to be used with the System.Web.UI.WebControls.GridView class.
Inheritance: EntityRelationship
ファイルを表示 Open project: netTiers/netTiers

Public Methods

Method Description
OneToManyGridRelationship ( ) : System

Initializes a new instance of the OneToManyGridRelationship class.

Protected Methods

Method Description
UpdateControl ( Object entity ) : void

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

UpdateLink ( Object link ) : void

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

UpdateRelationships ( Object entity ) : void

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

Method Details

OneToManyGridRelationship() public method

Initializes a new instance of the OneToManyGridRelationship class.
public OneToManyGridRelationship ( ) : System
return System

UpdateControl() protected method

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

UpdateLink() protected method

Initializes and updates the control with the relationships held within the specified business object.
protected UpdateLink ( Object link ) : void
link Object The business object that contains /// the current relationships with which to update the control.
return void

UpdateRelationships() protected method

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