Click or drag to resize

IFieldPersistenceInfo Interface

Interface which holds the generic information for entity field persistence of an entity field. Instances of this interface are passed to logic with an instance of the IEntityFieldCore interface. SelfServicing implements both interfaces in one interface: IEntityField. Generic

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public interface IFieldPersistenceInfo

The IFieldPersistenceInfo type exposes the following members.

Properties
  NameDescription
Public propertyActualDotNetType
The .NET type of the field in the DB. This value is used to convert a currentvalue back to this type using TypeConverterToUse.
Public propertyIdentityValueSequenceName
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.
Public propertyIsIdentity
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.
Public propertySourceCatalogName
The name of the catalog the SourceSchemaName is located in.
Public propertySourceColumnDbType
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"
Public propertySourceColumnIsNullable
Flag if the Column mapped onto the entityfield is nullable or not. Used for update/insert operations on the column
Public propertySourceColumnMaxLength
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
Public propertySourceColumnName
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.
Public propertySourceColumnPrecision
The precision of the Column mapped onto the entityfield. Used for update/insert operations on the column
Public propertySourceColumnScale
The scale of the Column mapped onto the entityfield. Used for update/insert operations on the column
Public propertySourceObjectName
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.
Public propertySourceSchemaName
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'.
Public propertyTargetFullConcatenated
Returns the concatenated result of catalog, schema and objectname. If all are empty it will result in "..".
Public propertyTypeConverterToUse
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.
Top
Methods
  NameDescription
Public methodReadDefinitionFromXml
Reads the definition from XML. Reader is positioned on first element of xml definition
Public methodWriteDefinitionAsXml
Writes the definition as XML.
Top
See Also