示例#1
0
 public UnitOWork(GoDBContext context)
 {
     _context     = context;
     GoTerms      = new GoTermRepository(_context);
     HumanStructs = new HumanStructRepository(_context);
     IsAs         = new IsARepository(_context);
     PartOfs      = new PartOfRepository(_context);
 }
示例#2
0
 public PartOfRepository(GoDBContext context)
     : base(context)
 {
 }
示例#3
0
 public IsARepository(GoDBContext context)
     : base(context)
 {
 }
示例#4
0
 public GoTermRepository(GoDBContext context)
     : base(context)
 {
 }
示例#5
0
 public HumanStructRepository(GoDBContext context)
     : base(context)
 {
 }