Click or drag to resize

IMappableField Interface

Interface used on classes which are considered a mappable field so they can be used in field mappings.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Interfaces
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public interface IMappableField : INotifyPropertyChanged, 
	INotifyAsChanged, INotifyAsRemoved

The IMappableField type exposes the following members.

Properties
  NameDescription
Public propertyCanSetNewFieldType
Gets a value indicating whether this instance can set the FieldType property
Public propertyContainingElement
Gets the containing element
Public propertyDescription
Gets or sets the description of this Field
Public propertyFieldIndex
The field index, starting with 0, for this field. A field index is by default -1 (undefined) and is used to sort fields in a given order. It is not used as external index for code generation, but solely for field ordering inside the fields of a groupable model element (except for stored procedure calls).
Public propertyFieldType
Gets or sets the type of the field.
Public propertyFullName
Gets the full name of the field.
Public propertyIsDiscriminator
Gets a value indicating whether this instance is the discriminator field of the containing entity. Ignored in value types.
Public propertyIsForeignKeyField
Gets a value indicating whether this instance is a foreign key field.
Public propertyIsOptional
Gets or sets the IsOptional flag
Public propertyIsPartOfIdentifyingFields
Gets or sets a value indicating whether this instance is part of the identifying fields
Public propertyIsReadOnly
Gets or sets the IsReadOnly flag
Public propertyMaxLength
Gets or sets the maximum length of this field.
Public propertyName
Gets or sets the name of this Field
Public propertyOutputSettingValues
Gets the output setting values of this target.
Public propertyPrecision
Gets or sets the precision.
Public propertyScale
Gets or sets the scale.
Public propertyTypeOfMappableField
Gets the type of mappable field this interface is implemented on.
Top
Methods
  NameDescription
Public methodMarkAsRemoved
Marks this field as removed. This routine will raise INotifyAsRemoved.ElementRemoved
Public methodSetNewFieldType
Sets the new type of the field. If CanSetNewFieldType returns false, this method is a no-op.
Public methodSetNewFieldTypeProperties
Sets the new field type properties.
Top
Events
  NameDescription
Public eventHasBeenChanged
Raised when the implementing element has been changed
(Inherited from INotifyAsChanged.)
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
(Inherited from INotifyAsRemoved.)
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from INotifyPropertyChanged.)
Top
See Also