DBTableField Properties |
The DBTableField type exposes the following members.
Name | Description | |
---|---|---|
CreatedByDesigner |
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.) | |
CustomProperties |
Gets the Custom properties (name - value pairs) read from the schema.
(Inherited from DBElementBase.) | |
DBType |
Gets the DB type of the field.
(Inherited from DBField.) | |
DbTypeAsString |
Gets the DbType as string.
(Inherited from DBField.) | |
DefaultSequence |
Gets the default sequence. Only set when the database supports default sequence hints. otherwise null
| |
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.
| |
Deserializing |
Gets or sets a value indicating whether this instance is deserializing.
(Inherited from DBElementBase.) | |
ErrorLog |
Gets the complete ErrorLog for this object.
(Inherited from DBElementBase.) | |
FieldName |
Literal name of the field.
(Inherited from DBField.) | |
FullName |
Gets the full name.
(Overrides DBElementBaseFullName.) | |
FullNameForXml |
Gets the full name for XML. This is a name which has the format schemaname:elementname or schemaname:elementname:fieldname. Used for references.
(Overrides DBElementBaseFullNameForXml.) | |
FullNameForXmlWithCatalog |
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.) | |
HasDefaultValue |
Flag which signals if this field has a default value. If true, DefaultValue should return
the default value for this field.
| |
IsComputed |
Flag which signals if this field's value is retrieved using a function stored with the field in the database.
| |
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.
| |
IsIdentity |
Flag which signals if this field is an autonumber/identity field.
(Inherited from DBField.) | |
IsNullable |
Flag which signals if this field can contain NULL.
(Inherited from DBField.) | |
IsPrimaryKey |
Flag which signals if this field is part of the primary key (PK) of the ParentTable.
| |
IsRowGUID |
Flag which signals if this field is a RowGUID. Sqlserver specific.
| |
IsTimeStamp |
Flag which signals if this field is a timestamp field.
(Inherited from DBField.) | |
Length |
Gets the length of the type of the target field.
(Inherited from DBField.) | |
MarkedForDeletion |
Gets or sets a value indicating whether this element is marked for deletion.
(Overrides DBElementBaseMarkedForDeletion.) | |
NETTypeAsString |
Gets the NET type as string.
(Inherited from DBField.) | |
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.
(Inherited from DBField.) | |
ParentTable |
Reference to the DBTable instance which reflects the table this DBTableField instance belongs to.
| |
Precision |
Gets the precision of the type of the target field.
(Inherited from DBField.) | |
Scale |
Gets the scale of the type of the target field.
(Inherited from DBField.) | |
TypeDefinition | DBTypeDefinition instance representing the type of this field.
(Inherited from DBField.) | |
TypeOfDBElement |
Gets the type of DB element in the form of a ContainedElementType value.
(Overrides DBElementBaseTypeOfDBElement.) | |
UDTName |
Gets the name of the UDT the db type is based on. If not applicable, an empty string is returned.
(Inherited from DBField.) |
Name | Description | |
---|---|---|
IDBRenameableElementIsRenamed |
Gets a value indicating whether this instance is renamed to a new value.
| |
IDBRenameableElementNewName |
Gets the new name, if the element was renamed, otherwise the original name
| |
IDBRenameableElementOriginalName |
Gets the original name of the element.
| |
IProjectElementFieldMapTargetElementCustomProperties |
Gets the Custom properties (name - value pairs) read from the schema.
| |
IProjectElementFieldMapTargetElementDbTypeAsString |
Gets the DbType as string.
| |
IProjectElementFieldMapTargetElementDefaultSequence |
Gets the default sequence. Only set when the database supports default sequence hints. otherwise null
| |
IProjectElementFieldMapTargetElementDefaultValue |
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.
| |
IProjectElementFieldMapTargetElementDirection |
Gets the direction of the parameter represented by this fieldmaptarget element
| |
IProjectElementFieldMapTargetElementFieldName |
Literal name of the field.
| |
IProjectElementFieldMapTargetElementFullName |
Gets the full name which is of the format: Parent's FullName.FieldName
| |
IProjectElementFieldMapTargetElementHasDefaultValue |
Flag which signals if this field has a default value. If true, DefaultValue should return
the default value for this field.
| |
IProjectElementFieldMapTargetElementIsComputed |
Flag which signals if this field's value is retrieved using a function stored with the
field in the database.
| |
IProjectElementFieldMapTargetElementIsForeignKey |
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.
| |
IProjectElementFieldMapTargetElementIsIdentity |
Flag which signals if this field is an autonumber/identity field.
| |
IProjectElementFieldMapTargetElementIsNullable |
Flag which signals if this field can contain NULL.
| |
IProjectElementFieldMapTargetElementIsPrimaryKey |
Flag which signals if this field is part of the primary key (PK) of the IDBTable referenced by Parent.
| |
IProjectElementFieldMapTargetElementIsRowGUID |
Flag which signals if this field is a RowGUID field. Microsoft Specific.
| |
IProjectElementFieldMapTargetElementIsTimeStamp |
Flag which signals if this field is a timestamp field.
| |
IProjectElementFieldMapTargetElementLength |
Gets the length of the type of the target field.
| |
IProjectElementFieldMapTargetElementNETTypeAsString |
Gets the .NET type as string.
| |
IProjectElementFieldMapTargetElementOrdinalPosition |
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.
| |
IProjectElementFieldMapTargetElementParent |
Reference to the IProjectElementMapTargetElement instance which reflects the table this
IEntityFieldMapTargetElement instance belongs to.
| |
IProjectElementFieldMapTargetElementPrecision |
Gets the precision of the type of the target field.
| |
IProjectElementFieldMapTargetElementScale |
Gets the scale of the type of the target field.
| |
IProjectElementFieldMapTargetElementTypeDefinition | DBTypeDefinition instance representing the type of this field.
| |
IProjectElementFieldMapTargetElementUDTName |
Gets the name of the UDT the db type is based on. If not applicable, an empty string is returned.
|