Click or drag to resize

DBTableField Properties

The DBTableField type exposes the following members.

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.
(Inherited from DBField.)
Public propertyDbTypeAsString
Gets the DbType as string.
(Inherited from DBField.)
Public propertyDefaultSequence
Gets the default sequence. Only set when the database supports default sequence hints. otherwise null
Public propertyDefaultValue
The default value for this field. It is represented in a string, since it's only used in the code generation process. Is only valid if HasDefaultValue returns true.
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.
(Inherited from DBField.)
Public propertyFullName
Gets the full name.
(Overrides DBElementBase.FullName.)
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.
(Overrides DBElementBase.FullNameForXml.)
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 propertyHasDefaultValue
Flag which signals if this field has a default value. If true, DefaultValue should return the default value for this field.
Public propertyIsComputed
Flag which signals if this field's value is retrieved using a function stored with the field in the database.
Public propertyIsForeignKey
Flag which signals if this field has a foreign key (FK) constraint. By design, fields can have only one foreign key constraint, since more than one is semantically wrong.
Public propertyIsIdentity
Flag which signals if this field is an autonumber/identity field.
(Inherited from DBField.)
Public propertyIsNullable
Flag which signals if this field can contain NULL.
(Inherited from DBField.)
Public propertyIsPrimaryKey
Flag which signals if this field is part of the primary key (PK) of the ParentTable.
Public propertyIsRowGUID
Flag which signals if this field is a RowGUID. Sqlserver specific.
Public propertyIsTimeStamp
Flag which signals if this field is a timestamp field.
(Inherited from DBField.)
Public propertyLength
Gets the length of the type of the target field.
(Inherited from DBField.)
Public propertyMarkedForDeletion
Gets or sets a value indicating whether this element is marked for deletion.
(Overrides DBElementBase.MarkedForDeletion.)
Public propertyNETTypeAsString
Gets the NET type as string.
(Inherited from DBField.)
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.
(Inherited from DBField.)
Public propertyParentTable
Reference to the DBTable instance which reflects the table this DBTableField instance belongs to.
Public propertyPrecision
Gets the precision of the type of the target field.
(Inherited from DBField.)
Public propertyScale
Gets the scale of the type of the target field.
(Inherited from DBField.)
Public propertyTypeDefinition
DBTypeDefinition instance representing the type of this field.
(Inherited from DBField.)
Protected propertyTypeOfDBElement
Gets the type of DB element in the form of a ContainedElementType value.
(Overrides DBElementBase.TypeOfDBElement.)
Public propertyUDTName
Gets the name of the UDT the db type is based on. If not applicable, an empty string is returned.
(Inherited from DBField.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyIDBRenameableElement.IsRenamed
Gets a value indicating whether this instance is renamed to a new value.
Explicit interface implementationPrivate propertyIDBRenameableElement.NewName
Gets the new name, if the element was renamed, otherwise the original name
Explicit interface implementationPrivate propertyIDBRenameableElement.OriginalName
Gets the original name of the element.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.CustomProperties
Gets the Custom properties (name - value pairs) read from the schema.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.DbTypeAsString
Gets the DbType as string.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.DefaultSequence
Gets the default sequence. Only set when the database supports default sequence hints. otherwise null
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.DefaultValue
The default value for this field. It is represented in a string, since it's only used in the code generation process. Is only valid if HasDefaultValue returns true.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.Direction
Gets the direction of the parameter represented by this fieldmaptarget element
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.FieldName
Literal name of the field.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.FullName
Gets the full name which is of the format: Parent's FullName.FieldName
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.HasDefaultValue
Flag which signals if this field has a default value. If true, DefaultValue should return the default value for this field.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.IsComputed
Flag which signals if this field's value is retrieved using a function stored with the field in the database.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.IsForeignKey
Flag which signals if this field has a foreign key (FK) constraint. By design, fields can have only one foreign key constraint, since more than one is semantically wrong.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.IsIdentity
Flag which signals if this field is an autonumber/identity field.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.IsNullable
Flag which signals if this field can contain NULL.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.IsPrimaryKey
Flag which signals if this field is part of the primary key (PK) of the IDBTable referenced by Parent.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.IsRowGUID
Flag which signals if this field is a RowGUID field. Microsoft Specific.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.IsTimeStamp
Flag which signals if this field is a timestamp field.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.Length
Gets the length of the type of the target field.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.NETTypeAsString
Gets the .NET type as string.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.OrdinalPosition
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.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.Parent
Reference to the IProjectElementMapTargetElement instance which reflects the table this IEntityFieldMapTargetElement instance belongs to.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.Precision
Gets the precision of the type of the target field.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.Scale
Gets the scale of the type of the target field.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.TypeDefinition
DBTypeDefinition instance representing the type of this field.
Explicit interface implementationPrivate propertyIProjectElementFieldMapTargetElement.UDTName
Gets the name of the UDT the db type is based on. If not applicable, an empty string is returned.
Top
See Also