Click or drag to resize

ImportableDBField Class

Simple class which represents an importable DB field (table / view field, sp param)
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.Extensibility.DataImportImportableDBField

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Extensibility.DataImport
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
[SerializableAttribute]
public class ImportableDBField

The ImportableDBField type exposes the following members.

Constructors
  NameDescription
Public methodImportableDBField
Initializes a new instance of the ImportableDBField class
Top
Properties
  NameDescription
Public propertyCustomProperties
Custom properties (name - value pairs) read from the schema.
Public propertyDBType
The numeric representation of the datatype.
Public propertyDbTypeAsNETType
Gets or sets the .NET type of the field.
Public propertyDbTypeAsString
Gets the DbType as string.
Public propertyDefaultSequence
Gets the default sequence.
Public propertyDefaultValue
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.
Public propertyDirection
Gets / sets the direction
Public propertyFieldName
The name of the 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. On Oracle this means the field should get its value from a Sequence defined with the system.
Public propertyIsNullable
Flag which signals if this field can contain NULL / is nullable.
Public propertyIsPrimaryKey
Flag which signals if this field is part of the primary key (PK) of the IDBTable referenced by Parent.
Public propertyIsResultsetParameter
Gets or sets a value indicating whether this instance is resultset parameter.
Public propertyIsRowGUID
Flag which signals if this field is a RowGUID field. Microsoft Specific.
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 propertyNetTypeSetByUserDefinedType
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.
Public propertyOrdinalPosition
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.
Public propertyParent
Reference to the IProjectElementFieldMapTargetElement instance which reflects the table this IEntityFieldMapTargetElement instance belongs to.
Public propertyPrecision
Gets the precision of the type of the target field.
Public propertyRequiresInsertValue
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.
Public propertyScale
Gets the scale of the type of the target field.
Public propertyUserDefinedTypeCatalog
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.
Public propertyUserDefinedTypeName
Defines the name of the User Defined Type if this datatype is a user-defined type. Only valid if IsOfUserDefinedType is true.
Public propertyUserDefinedTypeOwner
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.
Top
Methods
  NameDescription
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also