ImportableDBField Properties |
The ImportableDBField type exposes the following members.
Name | Description | |
---|---|---|
CustomProperties |
Custom properties (name - value pairs) read from the schema.
| |
DBType |
The numeric representation of the datatype.
| |
DbTypeAsNETType |
Gets or sets the .NET type of the field.
| |
DbTypeAsString |
Gets the DbType as string.
| |
DefaultSequence |
Gets the default sequence.
| |
DefaultValue |
The default value for this field. It is represented in a string, since it's only used in the
code generation process. If null, the field has no default value.
| |
Direction |
Gets / sets the direction
| |
FieldName |
The name of the 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. On Oracle this means the field should
get its value from a Sequence defined with the system.
| |
IsNullable |
Flag which signals if this field can contain NULL / is nullable.
| |
IsPrimaryKey |
Flag which signals if this field is part of the primary key (PK) of the IDBTable referenced by
Parent.
| |
IsResultsetParameter |
Gets or sets a value indicating whether this instance is resultset parameter.
| |
IsRowGUID |
Flag which signals if this field is a RowGUID field. Microsoft Specific.
| |
IsTimeStamp |
Flag which signals if this field is a timestamp field.
| |
Length |
Gets the length of the type of the target field.
| |
NetTypeSetByUserDefinedType |
Gets a value indicating whether the DbTypeAsNETType is set by an UDT (which is a CLR type). Necessary for saving/loading this type
to/from a file.
| |
OrdinalPosition |
The ordinal position of the instance of DBField in the table or view referenced by Parent
OrdinalPosition is 1-based, which means the first field has OrdinalPosition 1.
| |
Parent |
Reference to the IProjectElementFieldMapTargetElement instance which reflects the table this
IEntityFieldMapTargetElement instance belongs to.
| |
Precision |
Gets the precision of the type of the target field.
| |
RequiresInsertValue |
Flag to signal if this datatype requires a value specified in Insert queries. Not all RDBMS's require for each type a value, e.g. SqlServer
doesn't require a value for Timestamp types, SqlServer will insert a value automatically.
| |
Scale |
Gets the scale of the type of the target field.
| |
UserDefinedTypeCatalog |
Defines the name of the catalog the User Defined Type is stored in if this datatype is a
user-defined type. Only valid if IsOfUserDefinedType is true.
| |
UserDefinedTypeName |
Defines the name of the User Defined Type if this datatype is a user-defined type. Only valid if
IsOfUserDefinedType is true.
| |
UserDefinedTypeOwner |
Defines the name of the owner of the User Defined Type if this datatype is a user-defined type.
Only valid if IsOfUserDefinedType is true.
|