FieldPersistenceInfo Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The FieldPersistenceInfo type exposes the following members.
Name | Description | |
---|---|---|
FieldPersistenceInfo |
CTor. Necessary for serialization. Do not use this CTor in code.
| |
FieldPersistenceInfo(String) |
Initializes a new instance of the FieldPersistenceInfo class.
| |
FieldPersistenceInfo(SerializationInfo, StreamingContext) |
Initializes a new instance of the FieldPersistenceInfo class.
| |
FieldPersistenceInfo(String, TypeConverter) |
Initializes a new instance of the FieldPersistenceInfo class.
| |
FieldPersistenceInfo(String, TypeConverter, Type) |
Initializes a new instance of the FieldPersistenceInfo class.
| |
FieldPersistenceInfo(String, String, String, Boolean, String, Int32, Byte, Byte, Boolean, String, TypeConverter, Type) |
CTor
| |
FieldPersistenceInfo(String, String, String, String, Boolean, String, Int32, Byte, Byte, Boolean, String, TypeConverter, Type) |
CTor
|
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
f.e. 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 this 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 this entityfield. This name is used to map a column in a resultset onto the entity field.
Used for update/insert operations on the column
| |
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. 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'.
| |
TargetFullConcatenated |
Returns the concatenated result of catalog, schema and objectname. If all are empty it will result in "..".
| |
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 | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData |
ISerializable member. Does custom serialization so event handlers do not get serialized.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IFieldPersistenceInfoReadDefinitionFromXml |
Reads the definition from XML. Reader is positioned on first element of xml definition
| |
IFieldPersistenceInfoWriteDefinitionAsXml |
Writes the definition as XML.
|