IFieldPersistenceInfo Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The IFieldPersistenceInfo type exposes the following members.
Name | Description | |
---|---|---|
ActualDotNetType |
The .NET type of the field in the DB. This value is used to convert a currentvalue back to this type using TypeConverterToUse.
| |
IdentityValueSequenceName |
If IsIdentity is set to true, this property has to be set to the name of the sequence which supplies the value for the EntityField's
corresponding table field. On SqlServer this is @@IDENTITY or SCOPE_IDENTITY() and only used when the row is succesfully inserted, however on Oracle
this value is used to specify a new value and to retrieve the new value. Is undefined when IsIdentity is set to false.
| |
IsIdentity |
If set to true, the Dynamic Query Engine (DQE) will assume the field is an Identity field and will act accordingly (i.e.: as the target database
handles Identity fields: SqlServer will generate a new value itself, Oracle wants to have a sequence input.
| |
SourceCatalogName |
The name of the catalog the SourceSchemaName is located in.
| |
SourceColumnDbType |
The type of the Column mapped onto the EntityField(2). The value stored here is the string representation of the enum value of the type, e.g.
SqlDbType.Int will result in "Int"
| |
SourceColumnIsNullable |
Flag if the Column mapped onto the entityfield is nullable or not.
Used for update/insert operations on the column
| |
SourceColumnMaxLength |
The maximum length of the value of the entityfield (string/binary data). Is ignored for entityfields which hold non-string and non-binary values.
ColumnMaxLength
Used for update/insert operations on the column
| |
SourceColumnName |
The name of the corresponding column in a view or table for an entityfield. This name is used to map a column in a resultset onto the entity field.
| |
SourceColumnPrecision |
The precision of the Column mapped onto the entityfield.
Used for update/insert operations on the column
| |
SourceColumnScale |
The scale of the Column mapped onto the entityfield.
Used for update/insert operations on the column
| |
SourceObjectName |
The name of the source object which holds SourceColumnName. Can be a view or a table (or synonym of those).
Used to generate SQL on the fly.
| |
SourceSchemaName |
The name of the schema which holds SourceObjectName. Schema is used to generate SQL on the fly.
A common schema name in SqlServer is f.e. 'dbo'.
| |
TypeConverterToUse |
Gets the type converter to use. Only set through constructor and when a conversion is required from the .NET type returned by the
ADO.NET provider and the defined .NET type for this field.
|
Name | Description | |
---|---|---|
ReadDefinitionFromXml |
Reads the definition from XML. Reader is positioned on first element of xml definition
| |
WriteDefinitionAsXml |
Writes the definition as XML.
|