[]
        
(Showing Draft Content)

C1.C1Schedule.MappingInfo

MappingInfo Class

This class provides information on the mapping of the single property of the object to the appropriate data field.

Inheritance
MappingInfo
Implements
Namespace: C1.C1Schedule
Assembly: C1.Win.C1Schedule.4.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class MappingInfo : Component, IComponent, IDisposable

Constructors

Name Description
MappingInfo(Type, Type, string, bool, object)

Use this ctor when property of bound object has to have the type other than type of the internal object's property.

Properties

Name Description
DataType

Gets the Type value determining the type of the data field or property which can be bound to this object.

IsMapped

Gets the bool value indicating if this objects is mapped to the data field or property.

MappingName

Gets or sets the string value determining the name of the data field or property to be bound to the object.

PropertyName

Gets the string value determining the name of the property which should be mapped.

Required

Gets the bool value indicating if mapping for this property is required or optional.

Methods

Name Description
GetPropertyValue(object)

Returns the property of specified object.

SetPropertyValue(object, object)

Sets property of specified object to the specified value.