Click or drag to resize

IFieldElementCore Interface

Simple interface to be able to handle FieldElement instances and other field element type instances as the same

Namespace:  SD.LLBLGen.Pro.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public interface IFieldElementCore : INotifyAsRemoved, 
	IOutputSettingValuesTarget

The IFieldElementCore type exposes the following members.

Properties
  NameDescription
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 the type of the field.
Public propertyFieldTypeAsString
Gets the field type as string, or string.Empty if field type is null.
Public propertyFullName
Gets the full name of the field.
Public propertyFullNameWithContainer
Gets the full name with container.
Public propertyIsDiscriminator
Gets or sets 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 a value indicating whether this field is optional .
Public propertyIsPartOfIdentifyingFields
Gets or sets a value indicating whether this instance is part of the identifying fields
Public propertyIsReadOnly
Gets the IsReadOnly flag
Public propertyMaxLength
Gets the maximum length of this field.
Public propertyName
Gets or sets the name of this Field
Public propertyNameValidatorToUse
Sets the name validator to use.
Public propertyOutputSettingValues
Gets the output setting values of this target.
(Inherited from IOutputSettingValuesTarget.)
Public propertyPrecision
Gets the precision.
Public propertyScale
Gets the scale.
Public propertySuppressEvents
Gets or sets a value indicating whether events have to be suppressed
Public propertyTargetElementType
Gets the target element type of this target.
(Inherited from IOutputSettingValuesTarget.)
Public propertyTargetName
Gets the name of the element.
(Inherited from IOutputSettingValuesTarget.)
Top
Methods
  NameDescription
Public methodClone
Clones this instance
Public methodGetAdditionalInterfaces
Gets the additional interfaces, if applicable, for this element, where the default interfaces are prefiltered with the ignored interfaces defined in this element. All interface macros are replaced with real names.
(Inherited from IOutputSettingValuesTarget.)
Public methodGetAdditionalNamespaces
Gets the additional namespaces, if applicable, for this element, where the default namespaces are prefiltered with the ignored namespaces defined in this element. All namespace macros are replaced with real names.
(Inherited from IOutputSettingValuesTarget.)
Public methodGetAttributes
Gets the attributes, if applicable, for this element, where the default attributes are prefiltered with the ignored attributes defined in this element. All name macros and $length/$precision/$scale macros are replaced with real values. (if applicable)
(Inherited from IOutputSettingValuesTarget.)
Public methodGetRealStringSettingValueWithMacrosResolved
Gets the real setting value of the setting with the name specified as string. Also resolves any macros defined in the value (if any) to real values.
(Inherited from IOutputSettingValuesTarget.)
Public methodMarkAsRemoved
Marks this field as removed. This routine will raise INotifyAsRemoved.ElementRemoved
Top
Events
  NameDescription
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
(Inherited from INotifyAsRemoved.)
Public eventIFieldElementCoreChanged
Event for signaling a change in this object
Top
See Also