Click or drag to resize
FieldMapping Class
Class which defines a mapping between a field and a field in a table or view.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.MappingFieldMapping

Namespace: SD.LLBLGen.Pro.ApplicationCore.Mapping
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public class FieldMapping : IEditableObject, 
	IDataErrorInfo, INotifyPropertyChanged, INotifyAsChanged, ISerializableToXml

The FieldMapping type exposes the following members.

Constructors
  NameDescription
Public methodFieldMapping(MappableFieldWrapper, IProjectElementFieldMapTargetElement)
Initializes a new instance of the FieldMapping class.
Public methodFieldMapping(MappableFieldWrapper, IProjectElementFieldMapTargetElement, DBSequence, TypeConverterDefinition)
Initializes a new instance of the FieldMapping class.
Top
Properties
  NameDescription
Public propertyContainingMapping
Gets the containing mapping.
Public propertyError
Gets an error message indicating what is wrong with this object. The default is an empty string ("")
Public propertyIsValid
Gets a value indicating whether this mapping is valid.
Public propertyItem
Gets the String with the specified column name.
Public propertyMappedFieldFieldIndex
Gets the field index of the mapped field.
Public propertyMappedFieldInstance
Gets the mapped field instance, the real field mapped in this mapping
Public propertyMappedFieldName
Gets the name of the mapped field.
Public propertyMappedFieldNameForXml
Gets the mapped field name for XML.
Public propertyMappedFieldTypeAsString
Gets the .NET type of the type of the mapped field as string
Public propertyMappedFieldWrapper
Gets the mapped field wrapper, which wraps the MappedFieldInstance and provides the full path from the original field to the MappedFieldInstance.
Public propertyMappedTarget
Gets or sets the mapped target.
Public propertySequenceToUse
Gets or sets the sequence to use.
Public propertyTypeConverterToUse
Gets or sets the type converter to use.
Top
Methods
  NameDescription
Public methodBeginEdit
Begins an edit on an object.
Public methodCancelEdit
Public methodDeserializeFromReader
Deserializes from reader.
Public methodEndEdit
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodSyncModelFieldWithTargetField
Syncs the model field's Type, MaxLength, Precision and Scale with the target field's values for these properties.
Public methodSyncTargetFieldWithModelField(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.
Public methodSyncTargetFieldWithModelField(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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates this instance.
Public methodValidate(Action, String, GroupableModelElement)
Validates this instance
Top
Events
  NameDescription
Public eventFieldMappingChanged
Event for signaling a change in this object
Public eventHasBeenChanged
Raised when the implementing element has been changed
Public eventPropertyChanged
Occurs when a property value changes. (INotifyPropertyChanged)
Top
See Also