FieldMapping Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.Mapping
The FieldMapping type exposes the following members.
Name | Description | |
---|---|---|
FieldMapping(MappableFieldWrapper, IProjectElementFieldMapTargetElement) |
Initializes a new instance of the FieldMapping class.
| |
FieldMapping(MappableFieldWrapper, IProjectElementFieldMapTargetElement, DBSequence, TypeConverterDefinition) |
Initializes a new instance of the FieldMapping class.
|
Name | Description | |
---|---|---|
ContainingMapping |
Gets the containing mapping.
| |
Error |
Gets an error message indicating what is wrong with this object. The default is an empty string ("")
| |
IsValid |
Gets a value indicating whether this mapping is valid.
| |
Item |
Gets the String with the specified column name.
| |
MappedFieldFieldIndex |
Gets the field index of the mapped field.
| |
MappedFieldInstance |
Gets the mapped field instance, the real field mapped in this mapping
| |
MappedFieldName |
Gets the name of the mapped field.
| |
MappedFieldNameForXml |
Gets the mapped field name for XML.
| |
MappedFieldTypeAsString |
Gets the .NET type of the type of the mapped field as string
| |
MappedFieldWrapper |
Gets the mapped field wrapper, which wraps the MappedFieldInstance and provides the full path from the original field to the MappedFieldInstance.
| |
MappedTarget |
Gets or sets the mapped target.
| |
RequiresImplicitNumericConversionAtRuntime |
Gets whether this mapping requires implicit numeric conversion at runtime by the target framework. Returns true if there's no type converter set and it
requires an implicit numeric conversion
| |
SequenceToUse |
Gets or sets the sequence to use.
| |
TypeConverterToUse |
Gets or sets the type converter to use.
|
Name | Description | |
---|---|---|
BeginEdit |
Begins an edit on an object.
| |
CancelEdit |
Discards changes since the last BeginEdit call.
| |
DeserializeFromReader |
Deserializes from reader.
| |
EndEdit | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
| |
SyncModelFieldWithTargetField |
Syncs the model field's Type, MaxLength, Precision and Scale with the target field's values for these properties.
| |
SyncTargetFieldWithModelField(DBDriverBase) |
Syncs the target field's db Type, MaxLength, Precision and Scale with the model field's values for these properties, if possible, or
leaves it as-is if no db type was found.
| |
SyncTargetFieldWithModelField(DBDriverBase, Boolean) |
Syncs the target field's db Type, MaxLength, Precision and Scale with the model field's values for these properties, if possible, or
leaves it as-is if no db type was found.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate |
Validates this instance.
| |
Validate(Action, String, GroupableModelElement) |
Validates this instance
|
Name | Description | |
---|---|---|
FieldMappingChanged |
Event for signaling a change in this object
| |
HasBeenChanged |
Raised when the implementing element has been changed
| |
PropertyChanged |
Occurs when a property value changes. (INotifyPropertyChanged)
|