Knight Data Access Layer
ObjectCrud Constructor




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud Class : ObjectCrud Constructor
Database provider
Map objects, table names, and sql to database tables
Create, Read, Update, Delete Methods to interact with Tables
Stored procedure provider
Initialize with the database provider, mapper, tableCrud and stored procedure provider.
Syntax
Public Function New( _
   ByVal databaseProvider As IDatabaseProvider, _
   ByVal mapper As IAutoMap, _
   ByVal tableCrud As ITableCrud, _
   ByVal storedProcedureProvider As IStoredProcedureProvider _
)
Dim databaseProvider As IDatabaseProvider
Dim mapper As IAutoMap
Dim tableCrud As ITableCrud
Dim storedProcedureProvider As IStoredProcedureProvider
 
Dim instance As New ObjectCrud(databaseProvider, mapper, tableCrud, storedProcedureProvider)
public ObjectCrud( 
   IDatabaseProvider databaseProvider,
   IAutoMap mapper,
   ITableCrud tableCrud,
   IStoredProcedureProvider storedProcedureProvider
)
public: ObjectCrud( 
   IDatabaseProvider* databaseProvider,
   IAutoMap* mapper,
   ITableCrud* tableCrud,
   IStoredProcedureProvider* storedProcedureProvider
)
public:
ObjectCrud( 
   IDatabaseProvider^ databaseProvider,
   IAutoMap^ mapper,
   ITableCrud^ tableCrud,
   IStoredProcedureProvider^ storedProcedureProvider
)

Parameters

databaseProvider
Database provider
mapper
Map objects, table names, and sql to database tables
tableCrud
Create, Read, Update, Delete Methods to interact with Tables
storedProcedureProvider
Stored procedure provider
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ObjectCrud Class
ObjectCrud Members