Defines a mapping between two sets of properties/fields for use by DataMapper. More...
Classes | |
| class | MemberMapping |
Public Member Functions | |
| DataMap (Type sourceType, Type targetType) | |
| Initializes an instance of the type. More... | |
| DataMap (Type sourceType, Type targetType, IEnumerable< string > includedPropertyNames) | |
| Initializes an instance of the type. More... | |
| void | AddPropertyMapping (string sourceProperty, string targetProperty) |
| Adds a property to property mapping. More... | |
| void | AddFieldMapping (string sourceField, string targetField) |
| Adds a field to field mapping. More... | |
| void | AddFieldToPropertyMapping (string sourceField, string targetProperty) |
| Adds a field to property mapping. More... | |
| void | AddPropertyToFieldMapping (string sourceProperty, string targetField) |
| Adds a property to field mapping. More... | |
Defines a mapping between two sets of properties/fields for use by DataMapper.
Definition at line 19 of file DataMap.cs.
| Csla.Data.DataMap.DataMap | ( | Type | sourceType, |
| Type | targetType | ||
| ) |
Initializes an instance of the type.
| sourceType | Type of source object. |
| targetType | Type of target object. |
Definition at line 50 of file DataMap.cs.
| Csla.Data.DataMap.DataMap | ( | Type | sourceType, |
| Type | targetType, | ||
| IEnumerable< string > | includedPropertyNames | ||
| ) |
Initializes an instance of the type.
| sourceType | Type of source object. |
| targetType | Type of target object. |
| includedPropertyNames | List of property names to map 1:1. |
Definition at line 66 of file DataMap.cs.
| void Csla.Data.DataMap.AddFieldMapping | ( | string | sourceField, |
| string | targetField | ||
| ) |
Adds a field to field mapping.
| sourceField | Name of source field. |
| targetField | Name of target field. |
Definition at line 104 of file DataMap.cs.
| void Csla.Data.DataMap.AddFieldToPropertyMapping | ( | string | sourceField, |
| string | targetProperty | ||
| ) |
Adds a field to property mapping.
| sourceField | Name of source field. |
| targetProperty | Name of target property. |
Definition at line 121 of file DataMap.cs.
| void Csla.Data.DataMap.AddPropertyMapping | ( | string | sourceProperty, |
| string | targetProperty | ||
| ) |
Adds a property to property mapping.
| sourceProperty | Name of source property. |
| targetProperty | Name of target property. |
Definition at line 87 of file DataMap.cs.
| void Csla.Data.DataMap.AddPropertyToFieldMapping | ( | string | sourceProperty, |
| string | targetField | ||
| ) |
Adds a property to field mapping.
| sourceProperty | Name of source property. |
| targetField | Name of target field. |
Definition at line 138 of file DataMap.cs.