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
파일 보기 프로젝트 열기: Chillisoft/habanero.faces

공개 메소드들

메소드 설명
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