コード例 #1
0
 public UnitOfWork()
 {
     _demoAppContext = new DemoAppContext();
 }
コード例 #2
0
 public UnitOfWork(DemoAppContext demoAppContext)
 {
     _demoAppContext = demoAppContext;
 }
コード例 #3
0
ファイル: Repository.cs プロジェクト: pksivanantham/DemoApp
 public Repository(DemoAppContext demoAppContext)
 {
     this.demoAppContext = demoAppContext;
     // this.dbSet = demoAppContext.Set<T>();
 }
コード例 #4
0
 public PersonRepository(DemoAppContext demoAppContext)
 {
     _demoAppContext = demoAppContext;
 }
コード例 #5
0
 public DepartmentRepository(DemoAppContext context)
 {
     _context = context;
 }
コード例 #6
0
 public UserAlbumnInfoService(DemoAppContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
コード例 #7
0
 public ValuesController(DemoAppContext context)
 {
     _context = context;
 }