FieldElement Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.EntityModel
The FieldElement type exposes the following members.
Name | Description | |
---|---|---|
FieldElement |
Initializes a new instance of the FieldElement class.
|
Name | Description | |
---|---|---|
ContainingElement |
Gets the containing element
| |
ContainingElementFullName |
Gets the full name of the containing element.
| |
Description |
Gets or sets the description of this Field
| |
Direction |
Gets or sets the direction of the field's if it would be used as a parameter.
| |
Error |
Gets an error message indicating what is wrong with this object. The default is an empty string ("")
| |
FieldIndex |
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).
| |
FieldType |
Gets or sets the type of the field.
| |
FullName |
Gets the full name of the field. This is the name of the field with optionally (FK) appended to it if the field is an FK field.
| |
FullNameWithContainer |
Gets the full name with container.
| |
FullNameWithContainerAndTypeName |
Gets the full name of the field with the container name and the name of the type, in the format containername.fieldname (fieldtype)
| |
IsAutoCreatedFkField |
Gets a value indicating whether this instance is auto created fk field. Auto-created FK fields are fields which are auto-created when a relationship
was created and will be removed if the relationship will removed.
| |
IsChanged |
Gets or sets the flag to signal that this element has been changed
| |
IsDiscriminator |
Gets or sets a value indicating whether this instance is the discriminator field of the containing entity. Ignored in value types.
| |
IsForeignKeyField |
Gets a value indicating whether this instance is a foreign key field. Returns true if this field is in at least one FieldFieldRelationship
instance.
| |
IsOptional |
Gets or sets the IsOptional flag
| |
IsPartOfIdentifyingFields |
Gets or sets a value indicating whether this instance is part of the identifying fields
| |
IsReadOnly |
Gets or sets the IsReadOnly flag
| |
IsValid |
Gets a value indicating whether this instance is valid.
| |
Item |
Gets the String with the specified column name.
| |
MaxLength |
Gets or sets the maximum length of this field.
| |
Name |
Gets or sets the name of this Field
| |
NameValidatorToUse |
Sets the name validator.
| |
NumericValidatorToUse |
Sets the numeric validator to use.
| |
OutputSettingValues |
Gets the output setting values of this target.
| |
Precision |
Gets or sets the precision.
| |
Scale |
Gets or sets the scale.
| |
TargetElementType |
Gets the target element type of this target.
|
Name | Description | |
---|---|---|
BeginEdit |
Begins an edit on an object.
| |
CancelEdit |
Discards changes since the last BeginEdit call.
| |
Clone |
Clones this instance.
| |
DeserializeFromReader |
Deserializes the data for this class from the xml reader passed in
| |
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.) | |
GetAdditionalInterfaces |
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.
| |
GetAdditionalNamespaces |
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.
| |
GetAttributes |
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)
| |
GetElementNameForXml |
Gets the element name for XML.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetRealStringSettingValueWithMacrosResolved |
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.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MarkAsRemoved |
Marks this field as removed. This routine will raise INotifyAsRemoved.ElementRemoved
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnPropertyChanged |
Called when a property was changed
| |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
| |
ToString | (Overrides ObjectToString.) | |
Validate |
Validates this instance.
| |
Validate(Action, Boolean) |
Validates this instance.
|
Name | Description | |
---|---|---|
ContainedStringPropertyChanged |
Event which is raised when a string based member of this object has been changed. Which string based member and its old/new value is enclosed in the event args.
| |
FieldElementChanged |
Event for signaling a change in this object
| |
HasBeenChanged |
Raised when the implementing element has been changed
| |
HasBeenRemoved |
Raised when the implementing element has been removed from its container
| |
IFieldElementCoreChanged |
Event for signaling a change in this object
| |
PropertyChanged |
Occurs when a property value changes. (INotifyPropertyChanged)
|
Name | Description | |
---|---|---|
IFieldElementCoreClone |
Clones this instance
| |
IFieldElementCoreContainingElement |
Gets the containing element, be it a valuetype or an entity
| |
IFieldElementCoreFieldType |
Gets the type of the field.
| |
IFieldElementCoreFieldTypeAsString |
Gets the field type as string, or string.Empty if field type is null.
| |
IFieldElementCoreFullName |
Gets the full name of the field.
| |
IFieldElementCoreIsDiscriminator |
Gets or sets a value indicating whether this instance is the discriminator field of the containing entity. Ignored in value types.
| |
IFieldElementCoreIsOptional |
Gets or sets a value indicating whether this field is optional .
| |
IFieldElementCoreIsPartOfIdentifyingFields |
Gets or sets a value indicating whether this instance is part of the identifying fields
| |
IFieldElementCoreIsReadOnly |
Gets the IsReadOnly flag
| |
IFieldElementCoreMaxLength |
Gets the maximum length of this field.
| |
IFieldElementCoreName |
Gets or sets the name of this Field
| |
IFieldElementCorePrecision |
Gets the precision.
| |
IFieldElementCoreScale |
Gets the scale.
| |
IFieldElementCoreSuppressEvents |
Gets or sets a value indicating whether events have to be suppressed
| |
IMappableFieldCanSetNewFieldType |
Gets a value indicating whether this instance can set the FieldType property
| |
IMappableFieldContainingElement |
Gets the containing element, be it a valuetype or an entity
| |
IMappableFieldDescription |
Gets or sets the description of this Field
| |
IMappableFieldFieldIndex |
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).
| |
IMappableFieldFieldType |
Gets or sets the type of the field.
| |
IMappableFieldFullName |
Gets the full name of the field.
| |
IMappableFieldIsDiscriminator |
Gets a value indicating whether this instance is the discriminator field of the containing entity. Ignored in value types.
| |
IMappableFieldIsOptional |
Gets or sets the IsOptional flag
| |
IMappableFieldIsPartOfIdentifyingFields |
Gets or sets a value indicating whether this instance is part of the identifying fields
| |
IMappableFieldIsReadOnly |
Gets or sets the IsReadOnly flag
| |
IMappableFieldMarkAsRemoved |
Marks this field as removed. This routine will raise INotifyAsRemoved.HasBeenRemoved
| |
IMappableFieldMaxLength |
Gets or sets the maximum length of this field.
| |
IMappableFieldName |
Gets or sets the name of this Field
| |
IMappableFieldOutputSettingValues |
Gets the output setting values of this target.
| |
IMappableFieldPrecision |
Gets or sets the precision.
| |
IMappableFieldScale |
Gets or sets the scale.
| |
IMappableFieldSetNewFieldType |
Sets the new type of the field. If CanSetNewFieldType returns false, this method is a no-op.
| |
IMappableFieldSetNewFieldTypeProperties |
Sets the new field type properties.
| |
IMappableFieldTypeOfMappableField |
Gets the type of mappable field this interface is implemented on.
| |
IOutputSettingValuesTargetTargetName |
Gets the name of the element.
|