Retains the running state and reusable algorithms of any Diamant ORM DAO in which persistence operations for a relational data store are automatically created by inferring data schema in accordance with TEntity characteristics.

The following tables list the members exposed by the ConventionFirstDiamantDaoContext<TEntity> type.

Name Description
Public property ColumnNamingConvention Gets or sets the column naming convention.
Public property TableNamingConvention Gets or sets the table naming convention.
Top
Name Description
Public method Equals (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetMappings By using the NamingConvention defined in ConventionFirstDiamantDaoContext<ConventionFirstDiamantDaoContext(string, NamingConvention, NamingConvention) this method infers the table data schema in accordance with TEntity characteristics and creates the TableMappings required to synthesize create, read, update and delete SQL statements.

An affinity between data schema and TEntity structure is necessary for this class to correctly work, for example, if snake casing is used as naming convention, and the entity class is SomeEntity with string properties FirstProperty and SecondProperty, a table called some_entity with character based columns first_column and second_column must exists in the underlying data store.
Public method GetType (Overloaded) Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Static ReferenceEquals Determines whether the specified Object instances are the same instance. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Name Description
Public extension method FromNullable Converts object values to nullable relational data store values. (Defined by Object_ToNullable).
Public extension method GetAttribute Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttribute<TAtribute> (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes<TAtribute> (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method ToNullable<T> Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable).
Top