Click or drag to resize
FieldPersistenceInfo Class
Generic class 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
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesFieldPersistenceInfo

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
[SerializableAttribute]
public class FieldPersistenceInfo : IFieldPersistenceInfo, 
	ISerializable

The FieldPersistenceInfo type exposes the following members.

Constructors
  NameDescription
Public methodFieldPersistenceInfo
CTor. Necessary for serialization. Do not use this CTor in code.
Public methodFieldPersistenceInfo(String)
Initializes a new instance of the FieldPersistenceInfo class.
Protected methodFieldPersistenceInfo(SerializationInfo, StreamingContext)
Initializes a new instance of the FieldPersistenceInfo class.
Public methodFieldPersistenceInfo(String, TypeConverter)
Initializes a new instance of the FieldPersistenceInfo class.
Public methodFieldPersistenceInfo(String, TypeConverter, Type)
Initializes a new instance of the FieldPersistenceInfo class.
Public methodFieldPersistenceInfo(String, String, String, Boolean, String, Int32, Byte, Byte, Boolean, String, TypeConverter, Type)
CTor
Public methodFieldPersistenceInfo(String, String, String, String, Boolean, String, Int32, Byte, Byte, Boolean, String, TypeConverter, Type)
CTor
Top
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 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.
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 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
Public propertySourceColumnName
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
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. 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 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 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 methodGetObjectData
ISerializable member. Does custom serialization so event handlers do not get serialized.
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
Explicit Interface Implementations
See Also