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

Inheritance: System.Web.UI.WebControls.DataBoundControl
Afficher le fichier Open project: netTiers/netTiers Class Usage Examples

Private Properties

Свойство Type Description
GetControl System.Web.UI.Control

Méthodes publiques

Méthode 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

Méthode Description
GetControl ( String controlId ) : Control

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

Method Details

ClearSelections() public méthode

Clears the currently selected values in the ListControl object.
public ClearSelections ( ) : void
Résultat void

DeepLoad() public méthode

Performs a DeepLoad operation on the associated ILinkedDataSource object.
public DeepLoad ( ) : void
Résultat void

EntityRelationshipMember() public méthode

Initializes a new instance of the EntityRelationship class.
public EntityRelationshipMember ( ) : System
Résultat System

GetCell() public méthode

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.
Résultat System.Web.UI.WebControls.TableCell

GetCell() public méthode

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.
Résultat System.Web.UI.WebControls.TableCell

GetColumnIndex() public méthode

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.
Résultat int

GetColumnIndex() public méthode

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.
Résultat int

GetEntityId() public méthode

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

GetEntityId() public méthode

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

GetEntityKeyValue() public méthode

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.
Résultat String

GetEntityList() public méthode

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

GetForeignKeyValue() public méthode

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.
Résultat String

GetLink() public méthode

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.
Résultat Object

GetLinkedDataSource() public méthode

Gets a reference to the associated ILinkedDataSource control.
public GetLinkedDataSource ( ) : ILinkedDataSource
Résultat ILinkedDataSource

GetOriginalValue() public méthode

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.
Résultat Object

GetRow() public méthode

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.
Résultat System.Web.UI.WebControls.GridViewRow

GetValue() public méthode

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.
Résultat Object

GetValue() public méthode

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.
Résultat Object

GetValue() public méthode

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.
Résultat Object

GetValues() public méthode

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.
Résultat IDictionary

IsCurrentItem() public méthode

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.
Résultat bool

IsNewItem() public méthode

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.
Résultat bool

IsSelected() public méthode

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

Select() public méthode

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

SetValue() public méthode

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.
Résultat void

SetValue() public méthode

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.
Résultat void