C# Класс Habanero.Faces.Base.EditableGridControlMapper

Maps a multiple relationship collection onto an IEditableGridControl This is used for editing a Many relationship e.g. If an Invoice has many items then this control mapper can be used to provide an editable grid of Invoice Items.
Наследование: ControlMapper
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ApplyChangesToBusinessObject ( ) : void

Updates the properties on the represented business object

EditableGridControlMapper ( IEditableGridControl ctl, string relationshipName, bool isReadOnly, IControlFactory factory ) : Habanero.Base

Constructor for the mapper.

Защищенные методы

Метод Описание
InternalUpdateControlValueFromBo ( ) : void

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject

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

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

Updates the properties on the represented business object
public ApplyChangesToBusinessObject ( ) : void
Результат void

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

Constructor for the mapper.
public EditableGridControlMapper ( IEditableGridControl ctl, string relationshipName, bool isReadOnly, IControlFactory factory ) : Habanero.Base
ctl IEditableGridControl The IEditableGridControl
relationshipName string This is the relationship name to use - this relationship must be a multiple relationship and exist on the BusinessObject
isReadOnly bool Whether the editable grid should be read only or not. Ignored
factory IControlFactory The control factory to use
Результат Habanero.Base

InternalUpdateControlValueFromBo() защищенный Метод

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
protected InternalUpdateControlValueFromBo ( ) : void
Результат void