C# Class 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.
Inheritance: ControlMapper
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
InternalUpdateControlValueFromBo ( ) : void

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

Method Details

ApplyChangesToBusinessObject() public méthode

Updates the properties on the represented business object
public ApplyChangesToBusinessObject ( ) : void
Résultat void

EditableGridControlMapper() public méthode

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

InternalUpdateControlValueFromBo() protected méthode

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
protected InternalUpdateControlValueFromBo ( ) : void
Résultat void