Ejemplo n.º 1
0
 public TestRepository(IDatabaseCommandProcessor <TestEntity> commandProcessor,
                       IDatabaseEntityRetriever <TestEntity> entityRetriever,
                       IDatabaseCommandProvider <TestEntityIdentity> identitySelectCommandProvider,
                       IPagedDatabaseCommandProvider pagedEntitySelectCommandProvider,
                       IDatabaseCommandProvider entitySelectCommandProvider,
                       IDatabaseCommandProvider <TestEntity> entityCommandProvider)
     : base(commandProcessor, entityRetriever, identitySelectCommandProvider, pagedEntitySelectCommandProvider, entitySelectCommandProvider, entityCommandProvider)
 {
 }
Ejemplo n.º 2
0
 public Repository(IDatabaseCommandProcessor <TEntity> commandProcessor,
                   IDatabaseEntityRetriever <TEntity> entityRetriever,
                   IDatabaseCommandProvider <TIdentity> identitySelectCommandProvider,
                   IPagedDatabaseCommandProvider pagedEntitySelectCommandProvider,
                   IDatabaseCommandProvider entitySelectCommandProvider,
                   IDatabaseCommandProvider <TEntity> entityCommandProvider)
 {
     CommandProcessor = commandProcessor;
     EntityRetriever  = entityRetriever;
     IdentitySelectCommandProvider    = identitySelectCommandProvider;
     EntitySelectCommandProvider      = entitySelectCommandProvider;
     PagedEntitySelectCommandProvider = pagedEntitySelectCommandProvider;
     EntityCommandProvider            = entityCommandProvider;
 }