Click or drag to resize

DBField Class

Class which represents a field for a table or view, and which is specialized in DBTableField for table fields and DBViewField for view fields.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public abstract class DBField : DBElementBase, 
	ISerializableToXml

The DBField type exposes the following members.

Constructors
  NameDescription
Protected methodDBField
Initializes a new instance of the DBField class.
Top
Properties
  NameDescription
Public propertyCreatedByDesigner
Gets or sets a value indicating whether this element is created by the designer from mappings (true) or that it was created from meta-data retrieved from the database (false, default).
(Inherited from DBElementBase.)
Public propertyCustomProperties
Gets the Custom properties (name - value pairs) read from the schema.
(Inherited from DBElementBase.)
Public propertyDBType
Gets the DB type of the field.
Public propertyDbTypeAsString
Gets the DbType as string.
Protected propertyDeserializing
Gets or sets a value indicating whether this instance is deserializing.
(Inherited from DBElementBase.)
Public propertyErrorLog
Gets the complete ErrorLog for this object.
(Inherited from DBElementBase.)
Public propertyFieldName
Literal name of the field.
Public propertyFullName
Gets the full name.
(Inherited from DBElementBase.)
Public propertyFullNameForXml
Gets the full name for XML. This is a name which has the format schemaname:elementname or schemaname:elementname:fieldname. Used for references.
(Inherited from DBElementBase.)
Public propertyFullNameForXmlWithCatalog
Gets the full name for XML. This is a name which has the format catalogname:schemaname:elementname or catalogname:schemaname:elementname:fieldname. Used for references.
(Inherited from DBElementBase.)
Public propertyIsIdentity
Flag which signals if this field is an autonumber/identity field.
Public propertyIsNullable
Flag which signals if this field can contain NULL.
Public propertyIsTimeStamp
Flag which signals if this field is a timestamp field.
Public propertyLength
Gets the length of the type of the target field.
Public propertyMarkedForDeletion
Gets or sets a value indicating whether this element is marked for deletion.
(Inherited from DBElementBase.)
Public propertyNETTypeAsString
Gets the NET type as string.
Public propertyOrdinalPosition
The ordinal position of the instance of DBField in the table or view referenced by ParentTable or ParentView. (See DBTableField and DBViewField) OrdinalPosition is also called 'column identification number' and is the order in the fieldlist of the table or view. OrdinalPosition is 1-based, which means the first field has OrdinalPosition 1.
Public propertyPrecision
Gets the precision of the type of the target field.
Public propertyScale
Gets the scale of the type of the target field.
Public propertyTypeDefinition
DBTypeDefinition instance representing the type of this field.
Protected propertyTypeOfDBElement
Gets the type of DB element in the form of a ContainedElementType value.
(Inherited from DBElementBase.)
Public propertyUDTName
Gets the name of the UDT the db type is based on. If not applicable, an empty string is returned.
Top
Methods
  NameDescription
Protected method_member_ValueChangedTValue
Handles the ValueChanged event of the _member control.
Protected methodDeserializeAdditionalAttributes(XmlReader)
Deserializes attributes of this element's base class from the reader.
(Inherited from DBElementBase.)
Protected methodDeserializeAdditionalAttributes(XmlReader, DBSchema)
Deserializes the additional attributes.
Public methodDeserializeFromReader
Deserializes from reader.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DBElementBase.)
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 methodForceOrdinalWrite
Forcefully set the value of the ordinal position member, bypassing change tracking.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleContainedListChangedTChangeType
Handles the contained list changed.
(Inherited from DBElementBase.)
Public methodLogError
Logs an error in the ErrorLog structure of this object.
(Inherited from DBElementBase.)
Public methodLogWarning
Logs the description as a warning.
(Inherited from DBElementBase.)
Protected methodMarkElementAsChangedTChangeType
Marks the element as changed.
(Inherited from DBElementBase.)
Public methodMarkElementAsRemoved
Marks the element as removed, which raises the ElementRemoved event.
(Inherited from DBElementBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnContainedElementAdded
Called when this object received an event of type ContainedElementAdded
(Inherited from DBElementBase.)
Protected methodOnContainedElementChanged
Called when this object received an event of type ContainedElementChanged
(Inherited from DBElementBase.)
Protected methodOnContainedElementRemoved
Called when this object received an event of type ContainedElementRemoved
(Inherited from DBElementBase.)
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
(Inherited from DBElementBase.)
Protected methodPerformAdditionalContainedElementChangedWork
Performs the additional contained element changed work. Override if additional work has to be done after the OnContainedElementChanged method has run.
(Inherited from DBElementBase.)
Public methodResetChangeTracker
Resets the change tracker.
Public methodResetErrorLog
Resets the Error Log for this object to an empty list.
(Inherited from DBElementBase.)
Protected methodSerializeAdditionalAttributes
Serializes the additional attributes.
(Inherited from DBElementBase.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns the name of the field as string
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventContainedElementAdded
Raised when an element was added to a collection (indirectly) contained in this element
(Inherited from DBElementBase.)
Public eventContainedElementChanged
Raised when an element contained in this element was changed.
(Inherited from DBElementBase.)
Public eventContainedElementRemoved
Raised when an element was removed from a collection (indirectly) contained in this element
(Inherited from DBElementBase.)
Public eventHasBeenChanged
Raised when the implementing element has been changed
(Inherited from DBElementBase.)
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
(Inherited from DBElementBase.)
Public eventPropertyChanged
Occurs when a property value changes. (INotifyPropertyChanged)
(Inherited from DBElementBase.)
Top
See Also