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