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

Inheritance: System.Web.UI.WebControls.DataBoundControl
ファイルを表示 Open project: netTiers/netTiers Class Usage Examples

Private Properties

Property Type Description
GetControl System.Web.UI.Control

Public Methods

Method Description
ClearSelections ( ) : void

Clears the currently selected values in the ListControl object.

DeepLoad ( ) : void

Performs a DeepLoad operation on the associated ILinkedDataSource object.

EntityRelationshipMember ( ) : System

Initializes a new instance of the EntityRelationship class.

GetCell ( System.Web.UI.WebControls.GridViewRow row, String dataField ) : System.Web.UI.WebControls.TableCell

Gets the TableCell object that is bound to the specified dataField property.

GetCell ( System.Web.UI.WebControls.GridViewRow row, String dataField, EntityProperty &property ) : System.Web.UI.WebControls.TableCell

Gets the TableCell object that is bound to the specified dataField property.

GetColumnIndex ( String dataField ) : int

Gets the zero-based index of the column that is bound to the specified dataField property.

GetColumnIndex ( String dataField, EntityProperty &property ) : int

Gets the zero-based index of the column that is bound to the specified dataField property.

GetEntityId ( ) : Object

Gets the unique identifier value for the current business object.

GetEntityId ( Object entity ) : Object

Gets the unique identifier value for the specified business object.

GetEntityKeyValue ( System.Web.UI.WebControls.GridViewRow row ) : String

Gets the original value of the cell bound to the configured EntityKeyName property.

GetEntityList ( ) : IList

Gets the list of data retrieved by the associated ILinkedDataSource object.

GetForeignKeyValue ( System.Web.UI.WebControls.GridViewRow row ) : String

Gets the original value of the cell bound to the configured ForeignKeyName property.

GetLink ( IList links, System.Web.UI.WebControls.GridViewRow row ) : Object

Gets the current business object that is bound to the specified GridViewRow object.

GetLinkedDataSource ( ) : ILinkedDataSource

Gets a reference to the associated ILinkedDataSource control.

GetOriginalValue ( System.Web.UI.WebControls.GridViewRow row, String dataField ) : Object

Gets the original value of the cell bound to the specified dataField property.

GetRow ( System.Web.UI.WebControls.GridViewRowCollection rows, Object link ) : System.Web.UI.WebControls.GridViewRow

Gets the current GridViewRow object that represents the specified business object.

GetValue ( System.Web.UI.WebControls.GridViewRow row, String dataField ) : Object

Gets the current value of the cell bound to the specified dataField property.

GetValue ( System.Web.UI.WebControls.GridViewRow row, String dataField, bool useOriginal ) : Object

Gets the value of the cell bound to the specified dataField property.

GetValue ( System.Web.UI.WebControls.TableCell cell, String controlId, String controlProperty ) : Object

Gets the current value of the specified TableCell object.

GetValues ( System.Web.UI.WebControls.GridViewRow row ) : IDictionary

Gets a collection of bound values for the specified GridViewRow object.

IsCurrentItem ( System.Web.UI.WebControls.GridViewRowCollection rows, Object link ) : bool

Gets a value indicating whether the specified business object is currently represented by the GridViewRowCollection object.

IsNewItem ( System.Web.UI.WebControls.GridViewRow row ) : bool

Gets a value indicating whether the object represented by the specified GridViewRow object is a new object.

IsSelected ( String value ) : bool

Gets a value indicating whether the specified value is selected in the ListControl object.

Select ( String value ) : void

Selects the specified value in the ListControl object.

SetValue ( System.Web.UI.WebControls.GridViewRow row, String dataField, Object value ) : void

Sets the current value of the cell bound to the specified dataField property.

SetValue ( System.Web.UI.WebControls.TableCell cell, String controlId, String controlProperty, Object value ) : void

Sets the current value of the specified TableCell object.

Private Methods

Method Description
GetControl ( String controlId ) : Control

Gets a reference to the control with the specified control id.

Method Details

ClearSelections() public method

Clears the currently selected values in the ListControl object.
public ClearSelections ( ) : void
return void

DeepLoad() public method

Performs a DeepLoad operation on the associated ILinkedDataSource object.
public DeepLoad ( ) : void
return void

EntityRelationshipMember() public method

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

GetCell() public method

Gets the TableCell object that is bound to the specified dataField property.
public GetCell ( System.Web.UI.WebControls.GridViewRow row, String dataField ) : System.Web.UI.WebControls.TableCell
row System.Web.UI.WebControls.GridViewRow A object.
dataField String The property name.
return System.Web.UI.WebControls.TableCell

GetCell() public method

Gets the TableCell object that is bound to the specified dataField property.
public GetCell ( System.Web.UI.WebControls.GridViewRow row, String dataField, EntityProperty &property ) : System.Web.UI.WebControls.TableCell
row System.Web.UI.WebControls.GridViewRow A object.
dataField String The property name.
property EntityProperty a object.
return System.Web.UI.WebControls.TableCell

GetColumnIndex() public method

Gets the zero-based index of the column that is bound to the specified dataField property.
public GetColumnIndex ( String dataField ) : int
dataField String The property name.
return int

GetColumnIndex() public method

Gets the zero-based index of the column that is bound to the specified dataField property.
public GetColumnIndex ( String dataField, EntityProperty &property ) : int
dataField String The property name.
property EntityProperty A reference to the object.
return int

GetEntityId() public method

Gets the unique identifier value for the current business object.
public GetEntityId ( ) : Object
return Object

GetEntityId() public method

Gets the unique identifier value for the specified business object.
public GetEntityId ( Object entity ) : Object
entity Object
return Object

GetEntityKeyValue() public method

Gets the original value of the cell bound to the configured EntityKeyName property.
public GetEntityKeyValue ( System.Web.UI.WebControls.GridViewRow row ) : String
row System.Web.UI.WebControls.GridViewRow The current object.
return String

GetEntityList() public method

Gets the list of data retrieved by the associated ILinkedDataSource object.
public GetEntityList ( ) : IList
return IList

GetForeignKeyValue() public method

Gets the original value of the cell bound to the configured ForeignKeyName property.
public GetForeignKeyValue ( System.Web.UI.WebControls.GridViewRow row ) : String
row System.Web.UI.WebControls.GridViewRow The current object.
return String

GetLink() public method

Gets the current business object that is bound to the specified GridViewRow object.
public GetLink ( IList links, System.Web.UI.WebControls.GridViewRow row ) : Object
links IList A collection of business objects.
row System.Web.UI.WebControls.GridViewRow A object.
return Object

GetLinkedDataSource() public method

Gets a reference to the associated ILinkedDataSource control.
public GetLinkedDataSource ( ) : ILinkedDataSource
return ILinkedDataSource

GetOriginalValue() public method

Gets the original value of the cell bound to the specified dataField property.
public GetOriginalValue ( System.Web.UI.WebControls.GridViewRow row, String dataField ) : Object
row System.Web.UI.WebControls.GridViewRow A object.
dataField String The property name.
return Object

GetRow() public method

Gets the current GridViewRow object that represents the specified business object.
public GetRow ( System.Web.UI.WebControls.GridViewRowCollection rows, Object link ) : System.Web.UI.WebControls.GridViewRow
rows System.Web.UI.WebControls.GridViewRowCollection A .
link Object The current business object.
return System.Web.UI.WebControls.GridViewRow

GetValue() public method

Gets the current value of the cell bound to the specified dataField property.
public GetValue ( System.Web.UI.WebControls.GridViewRow row, String dataField ) : Object
row System.Web.UI.WebControls.GridViewRow A object.
dataField String The property name.
return Object

GetValue() public method

Gets the value of the cell bound to the specified dataField property.
public GetValue ( System.Web.UI.WebControls.GridViewRow row, String dataField, bool useOriginal ) : Object
row System.Web.UI.WebControls.GridViewRow A object.
dataField String The property name.
useOriginal bool A value indicating whether to /// return the current value or the original value.
return Object

GetValue() public method

Gets the current value of the specified TableCell object.
public GetValue ( System.Web.UI.WebControls.TableCell cell, String controlId, String controlProperty ) : Object
cell System.Web.UI.WebControls.TableCell The current object.
controlId String The nested control's ID property value.
controlProperty String The nested control's value property name.
return Object

GetValues() public method

Gets a collection of bound values for the specified GridViewRow object.
public GetValues ( System.Web.UI.WebControls.GridViewRow row ) : IDictionary
row System.Web.UI.WebControls.GridViewRow A object.
return IDictionary

IsCurrentItem() public method

Gets a value indicating whether the specified business object is currently represented by the GridViewRowCollection object.
public IsCurrentItem ( System.Web.UI.WebControls.GridViewRowCollection rows, Object link ) : bool
rows System.Web.UI.WebControls.GridViewRowCollection A object.
link Object The current business object.
return bool

IsNewItem() public method

Gets a value indicating whether the object represented by the specified GridViewRow object is a new object.
public IsNewItem ( System.Web.UI.WebControls.GridViewRow row ) : bool
row System.Web.UI.WebControls.GridViewRow A object.
return bool

IsSelected() public method

Gets a value indicating whether the specified value is selected in the ListControl object.
public IsSelected ( String value ) : bool
value String The current value.
return bool

Select() public method

Selects the specified value in the ListControl object.
public Select ( String value ) : void
value String The value to select.
return void

SetValue() public method

Sets the current value of the cell bound to the specified dataField property.
public SetValue ( System.Web.UI.WebControls.GridViewRow row, String dataField, Object value ) : void
row System.Web.UI.WebControls.GridViewRow A object.
dataField String The property name.
value Object The current value.
return void

SetValue() public method

Sets the current value of the specified TableCell object.
public SetValue ( System.Web.UI.WebControls.TableCell cell, String controlId, String controlProperty, Object value ) : void
cell System.Web.UI.WebControls.TableCell The current object.
controlId String The nested control's ID property value.
controlProperty String The nested control's value property name.
value Object The current value.
return void