Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoDaoSupport.CreateAdoTemplate Method

Create a AdoTemplate for a given DbProvider Only invoked if populating the DAO with a DbProvider reference.

[Visual Basic]
Protected Overridable Sub CreateAdoTemplate( _
   ByVal dbProvider As IDbProvider _
)
[C#]
protected virtual AdoTemplate CreateAdoTemplate(
   IDbProvider dbProvider
);

Parameters

dbProvider
The DbProvider to create a AdoTemplate for

Remarks

Can be overriden in subclasses to provide AdoTemplate instances with a different configuration, or a cusotm AdoTemplate subclass.

See Also

AdoDaoSupport Class | Spring.Data.Generic Namespace