C# 클래스 Habanero.BO.BOPropertyMapper

This is a mapper class that handles the mapping of a property name to a specific property for a specified IBusinessObject. The property name can be specified as a path through single relationships on the IBusinessObject and its' relationship tree. For Example:
For the ContactPerson BusinessObject when the propertyName is "FirstName", the returned IBOProp will be the "FirstName" property on ContactPerson.
If the propertyName was "Organisation.Name" then the Organisation relationship on the contact person will be traversed and monitored and return the corresponding "Name" IBOProp for the ContactPerson's current Organisation.
상속: IBOPropertyMapper
파일 보기 프로젝트 열기: Chillisoft/habanero 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_property IBOProp

공개 메소드들

메소드 설명
BOPropertyMapper ( string propertyName ) : System

Creates a BOPropertyMapper for the specified property name/path.

GetPropertyValue ( ) : object

Return the Property Value for the Property being mapped.

SetPropertyValue ( object propValue ) : void

Sets the BOProp that this mapper is mapped to the associated propValue

비공개 메소드들

메소드 설명
CheckBusinessObjectSet ( string methodName ) : void
ChildProperty_OnRelatedBusinessObjectChanged ( object sender, EventArgs e ) : void
DeRegisterForChildRelationshipEvents ( ) : void
FirePropertyChanged ( ) : void
RegisterForChildRelationshipEvents ( ) : void
UpdateChildProperty ( ) : void
UpdateChildPropertyBO ( ) : void

메소드 상세

BOPropertyMapper() 공개 메소드

Creates a BOPropertyMapper for the specified property name/path.
This is thrown if is null or empty.
public BOPropertyMapper ( string propertyName ) : System
propertyName string The name of the property to be mapped (this could also be in the form of a path through single relationships on the BO).
리턴 System

GetPropertyValue() 공개 메소드

Return the Property Value for the Property being mapped.
public GetPropertyValue ( ) : object
리턴 object

SetPropertyValue() 공개 메소드

Sets the BOProp that this mapper is mapped to the associated propValue
public SetPropertyValue ( object propValue ) : void
propValue object
리턴 void

프로퍼티 상세

_property 보호되어 있는 프로퍼티

The property used to map.
protected IBOProp _property
리턴 IBOProp