示例#1
0
 public AuthorsRepository(BookArchiveDataContext dataContext, IBookArchiveUOW uow) : base(dataContext)
 {
     this.dbx = dataContext;
     this.uow = uow;
 }
示例#2
0
 public BookArchiveUnitOfWork(BookArchiveDataContext dataContext, IServiceProvider serviceProvider)
 {
     this.dataContext     = dataContext;
     this.serviceProvider = serviceProvider;
 }