Click or drag to resize
EntityBaseElement Class
Class which contains a base entity element definition. This class is used for both Valuetypes and EntityDefinitions.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public abstract class EntityBaseElement : GroupableModelElement

The EntityBaseElement type exposes the following members.

Constructors
  NameDescription
Protected methodEntityBaseElement
Initializes a new instance of the EntityBaseElement class.
Top
Properties
  NameDescription
Protected propertyContainingProject
Gets or sets the containing project.
(Inherited from GroupableModelElement.)
Public propertyError
Gets an error message indicating what is wrong with this object.
(Inherited from GroupableModelElement.)
Public propertyFieldCount
Gets the field count.
(Inherited from GroupableModelElement.)
Public propertyFields
Gets the fields of this element
(Inherited from GroupableModelElement.)
Public propertyFullName
Gets the full name of this element which is the groupname combined with the name
(Inherited from GroupableModelElement.)
Public propertyFullNameForXml
Gets the full name for XML.
(Inherited from GroupableModelElement.)
Public propertyGroupName
Gets / sets the name of the group this entity is in.
(Inherited from GroupableModelElement.)
Public propertyIsChanged
Gets or sets the flag to signal that this element has been changed.
(Inherited from GroupableModelElement.)
Public propertyItem
Gets the String with the specified column name.
(Inherited from GroupableModelElement.)
Public propertyLastChangedProperty
Gets the last changed property name of this object. Use this to check whether changes indeed should be propagated through UI-oriented event channels
(Inherited from GroupableModelElement.)
Public propertyName
Gets / sets the name of this entity.
(Inherited from GroupableModelElement.)
Public propertyNameValidatorToUse
Gets or sets the name validator to use.
(Inherited from GroupableModelElement.)
Public propertyObjectID
Gets or sets the object identifier, which is used to identify objects across instances, e.g. through a copy action.
(Inherited from GroupableModelElement.)
Public propertyOutputSettingValues
Gets the output setting values of this target.
(Inherited from GroupableModelElement.)
Protected propertySuppressEvents
Gets or sets a value indicating whether events should be suppressed related to this entity base element (true) or not (false).
(Inherited from GroupableModelElement.)
Public propertyTargetElementType
Gets the target element type of this target.
(Inherited from GroupableModelElement.)
Public propertyUniqueConstraints
Gets the list of unique constraints.
Top
Methods
  NameDescription
Protected method_member_ValueChangedTValue
Handles the ValueChanged event of a member variable which is a commandifiedmember.
(Inherited from GroupableModelElement.)
Protected methodBindEventHandlers
Binds the event handlers.
(Inherited from GroupableModelElement.)
Public methodCheckIfFieldsCanBeBouncedToLocalFields
Checks if the fields can be bounced to local fields. This is true if the fields have a valuetype as type.
(Overrides GroupableModelElementCheckIfFieldsCanBeBouncedToLocalFields(ListFieldElement).)
Public methodCheckIfFieldsCanBeConvertedToValueType
Checks if the fields specified can be converted to a value type, which is then used in a new field to replace the specified field(s).
(Overrides GroupableModelElementCheckIfFieldsCanBeConvertedToValueType(ListFieldElement).)
Public methodCheckIfFieldsCanBeMovedToSuperSubType
Checks if the fields specified can be moved to a super or subtype
(Inherited from GroupableModelElement.)
Public methodClearErrors
Clears the errors set in this object.
(Inherited from GroupableModelElement.)
Protected methodCreateFieldElement
Creates a new field element.
(Inherited from GroupableModelElement.)
Public methodCreateSourceLocationDataObject
Creates the source location data object.
(Inherited from GroupableModelElement.)
Protected methodCreateValidators
Creates the field name validator for the fields
(Overrides GroupableModelElementCreateValidators(Project).)
Protected methodDeserializeAdditionalAttributes
Deserializes the additional attributes from the root element
(Inherited from GroupableModelElement.)
Protected methodDeserializeAdditionalData
Deserializes additional data from the reader specified. Usable for derived classes which have additional information to deserialize
(Overrides GroupableModelElementDeserializeAdditionalData(XmlReader, Project).)
Public methodDeserializeFromReader
Deserializes the data for this class from the xml reader passed in
(Inherited from GroupableModelElement.)
Protected methodDetermineIfElementShouldHaveFieldOrdering
Method which determines whether this element should have field ordering (true) or not (false). It returns the value for the UseCustomFieldOrderingOnNewElements project setting, if obtainable, otherwise false.
(Inherited from GroupableModelElement.)
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 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 GroupableModelElement.)
Protected methodGetAdditionalMappableFields
Gets the additional mappable fields to return in the call to GetAllMappableFields.
(Inherited from GroupableModelElement.)
Protected methodGetAdditionalNamesInUseByOwnedElements
Gets the additional names (in their current form) in use by owned elements.
(Inherited from GroupableModelElement.)
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 GroupableModelElement.)
Protected methodGetAllContainingUniqueConstraints
Gets all the containing unique constraints the passed in field is in.
Public methodGetAllFieldsInElement(Boolean)
Gets all fields (normal fields, identifying fields, foreign key fields) in this element, ordered on field index and then name, ascending.
(Inherited from GroupableModelElement.)
Public methodGetAllFieldsInElement(Boolean, Boolean)
Gets all fields (normal fields, identifying fields, foreign key fields) in this element, ordered on field index and then name, ascending.
(Inherited from GroupableModelElement.)
Protected methodGetAllFieldsSuitableForUCs
Gets all fields suitable for unique constraints
Public methodGetAllMappableFields
Gets all mappable fields (also the ones nested inside valuetypes in fields)
(Inherited from GroupableModelElement.)
Public methodGetAllMappableFields(Boolean)
Gets all mappable fields (also the ones nested inside valuetypes in fields)
(Inherited from GroupableModelElement.)
Public methodGetAllNamesInUseByOwnedElements
Gets all names (in their current casing) in use by owned elements like fields, navigators, fields mapped onto related fields etc.
(Inherited from GroupableModelElement.)
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 GroupableModelElement.)
Public methodGetElementNameForErrorReporting
Gets the element name for error reporting.
(Inherited from GroupableModelElement.)
Protected methodGetElementNameForXml
Gets the element name for XML. This name is used to produce the element containing the data of this entitybaseelement.
(Overrides GroupableModelElementGetElementNameForXml.)
Protected methodGetFieldNameStripPattern
Gets the field name strip pattern.
(Inherited from GroupableModelElement.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetInheritedMappableFields
Gets the inherited mappable fields to return in the call to GetAllMappableFields
(Inherited from GroupableModelElement.)
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 GroupableModelElement.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleFieldIndexesUpdated
Handles the field indexes updated.
(Inherited from GroupableModelElement.)
Protected methodHandleFieldInFieldsChanged
Handles the field in fields changed.
(Inherited from GroupableModelElement.)
Protected methodHandleFieldRemoved
Handles the field removed.
(Inherited from GroupableModelElement.)
Protected methodHandleFieldsListChanged
Handles the fields list changed event. Checks unique constraint.
(Inherited from GroupableModelElement.)
Protected methodHandleUnhandledMarkElementAsChanged
Handles the unhandled mark element as changed.
(Inherited from GroupableModelElement.)
Protected methodMarkElementAsChanged
Marks the element as changed.
(Inherited from GroupableModelElement.)
Protected methodMarkElementAsRemoved
Marks the element as removed, by raising the ElementRemoved event.
(Inherited from GroupableModelElement.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnGroupableModelElementChanged
Raises the GroupableModelElementChanged event.
(Inherited from GroupableModelElement.)
Protected methodOnPropertyChanged
Called when a property got changed.
(Inherited from GroupableModelElement.)
Protected methodPerformFixDuplicateNamesAfterRefresh
Performs the fix duplicate names after refresh.
(Inherited from GroupableModelElement.)
Public methodPopulateAndMap
Populates the element with new fields based on the fields to map specified and creates mappings for them in the passed in mapping.
(Inherited from GroupableModelElement.)
Protected methodPropagateValidatorsToLoadedObjects
Propagates the validators to loaded objects. This routine is called after the validators are created after the object and its containing objects have been loaded successfully.
(Overrides GroupableModelElementPropagateValidatorsToLoadedObjects.)
Public methodRemoveFieldElement
Removes the field element passed in from the list it is located in
(Inherited from GroupableModelElement.)
Protected methodRemoveFieldElementFromAdditionalContainers
Removes the field element from additional containers.
(Inherited from GroupableModelElement.)
Protected methodSerializeAdditionalAttributes
Serializes the additional attributes into the root element
(Inherited from GroupableModelElement.)
Protected methodSerializeAdditionalData
Serializes additional content to the writer specified. Usable for derived classes which have additional information to serialize
(Overrides GroupableModelElementSerializeAdditionalData(ISerializer).)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
(Inherited from GroupableModelElement.)
Public methodSetNewFieldOrder
Sets the new field order to the order specified in fieldsInCorrectFieldOrder.
(Inherited from GroupableModelElement.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from GroupableModelElement.)
Protected methodUnbindEventHandlers
Unbinds the event handlers.
(Inherited from GroupableModelElement.)
Protected methodUpdateOutputSettingValuesContainersWithDefaults
Updates the output setting values containers with defaults.
(Inherited from GroupableModelElement.)
Protected methodValidate
Validates this instance. Reports errors along the way using the message system.
(Overrides GroupableModelElementValidate(Project, Boolean).)
Top
Events
  NameDescription
Public eventGroupableModelElementChanged
Event which is raised when the definition of this GroupableModelElement has been changed. What has changed is enclosed inside the event args.
(Inherited from GroupableModelElement.)
Public eventHasBeenChanged
Raised when the implementing element has been changed
(Inherited from GroupableModelElement.)
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
(Inherited from GroupableModelElement.)
Public eventPropertyChanged
Occurs when a property value changes. (INotifyPropertyChanged)
(Inherited from GroupableModelElement.)
Top
Explicit Interface Implementations
See Also