By creating a new ConventionFirstSqlDao<TEntity> instance, this inversion control method handles the request to synthesize a new Convention first Diamant DAO to manage the persistence operations of the specified entity type.

Namespace: Keystone.Carbonite.Diamant.Sql
Assembly: Keystone.Carbonite.Diamant.Sql (in Keystone.Carbonite.Diamant.Sql.dll)

protected override IConventionFirstDiamantDao<TEntity> OnGetDaoFor<TEntity>( 
string tableSchema
NamingConvention tableNamingConvention
NamingConvention columnNamingConvention 
This language is not supported or no code example is available.

Type Parameters


The type of the entity to manage.



Type: string

The table schema, if any.


Type: NamingConvention

The table naming convention.


Type: NamingConvention

The column naming convention.

Return Value

A new ConventionFirstSqlDao<TEntity> instance.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6


Xamarin, Mono