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

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

ReadOnlyGridMapper ( IReadOnlyGrid ctl, string relationshipName, bool isReadOnly, IControlFactory factory )

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

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

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

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

Constructor for the mapper.
public ReadOnlyGridMapper ( IReadOnlyGrid ctl, string relationshipName, bool isReadOnly, IControlFactory factory )
ctl IReadOnlyGrid 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