[]
        
(Showing Draft Content)

C1.C1Schedule.MappingCollectionBase-1.ReadObject

ReadObject Method

ReadObject(T, object, bool)

Fills internal object derived from BasePersistableObject with values from specified bound object.

Declaration
protected virtual bool ReadObject(T internalObject, object boundObject, bool raiseChanged)
Parameters
Type Name Description
T internalObject
object boundObject
bool raiseChanged

Specifies if internalObject should raise Changed event during this method call

Returns
Type Description
bool

Value indicating if bound object was changed by this method.

Remarks

Overriding method of derived class should call the base class's ReadObject method or fill BasePersistableObject properties on it's own.

ReadObject(T, object, bool, bool)

Fills internal object derived from BasePersistableObject with values from specified bound object.

Declaration
protected virtual bool ReadObject(T internalObject, object boundObject, bool raiseChanged, bool dirty)
Parameters
Type Name Description
T internalObject
object boundObject
bool raiseChanged

Specifies if internalObject should raise Changed event during this method call

bool dirty

Specifies whether an object has been changed

Returns
Type Description
bool

Value indicating if bound object was changed by this method.

Remarks

Overriding method of derived class should call the base class's ReadObject method or fill BasePersistableObject properties on it's own.