C# Класс Nettiers.AdventureWorks.Web.Data.EntityRelationshipMember

Наследование: System.Web.UI.WebControls.DataBoundControl
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetControl System.Web.UI.Control

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

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

Приватные методы

Метод Описание
GetControl ( String controlId ) : Control

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

Описание методов

ClearSelections() публичный Метод

Clears the currently selected values in the ListControl object.
public ClearSelections ( ) : void
Результат void

DeepLoad() публичный Метод

Performs a DeepLoad operation on the associated ILinkedDataSource object.
public DeepLoad ( ) : void
Результат void

EntityRelationshipMember() публичный Метод

Initializes a new instance of the EntityRelationship class.
public EntityRelationshipMember ( ) : System
Результат System

GetCell() публичный Метод

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.
Результат System.Web.UI.WebControls.TableCell

GetCell() публичный Метод

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.
Результат System.Web.UI.WebControls.TableCell

GetColumnIndex() публичный Метод

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.
Результат int

GetColumnIndex() публичный Метод

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.
Результат int

GetEntityId() публичный Метод

Gets the unique identifier value for the current business object.
public GetEntityId ( ) : Object
Результат Object

GetEntityId() публичный Метод

Gets the unique identifier value for the specified business object.
public GetEntityId ( Object entity ) : Object
entity Object
Результат Object

GetEntityKeyValue() публичный Метод

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.
Результат String

GetEntityList() публичный Метод

Gets the list of data retrieved by the associated ILinkedDataSource object.
public GetEntityList ( ) : IList
Результат IList

GetForeignKeyValue() публичный Метод

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.
Результат String

GetLink() публичный Метод

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.
Результат Object

GetLinkedDataSource() публичный Метод

Gets a reference to the associated ILinkedDataSource control.
public GetLinkedDataSource ( ) : ILinkedDataSource
Результат ILinkedDataSource

GetOriginalValue() публичный Метод

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.
Результат Object

GetRow() публичный Метод

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.
Результат System.Web.UI.WebControls.GridViewRow

GetValue() публичный Метод

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.
Результат Object

GetValue() публичный Метод

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.
Результат Object

GetValue() публичный Метод

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.
Результат Object

GetValues() публичный Метод

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.
Результат IDictionary

IsCurrentItem() публичный Метод

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.
Результат bool

IsNewItem() публичный Метод

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.
Результат bool

IsSelected() публичный Метод

Gets a value indicating whether the specified value is selected in the ListControl object.
public IsSelected ( String value ) : bool
value String The current value.
Результат bool

Select() публичный Метод

Selects the specified value in the ListControl object.
public Select ( String value ) : void
value String The value to select.
Результат void

SetValue() публичный Метод

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.
Результат void

SetValue() публичный Метод

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.
Результат void