Exemple #1
0
 protected void CreateDbContext()
 {
     context = new ShareHolderContext();
     context.Configuration.ProxyCreationEnabled = false;
     context.Configuration.LazyLoadingEnabled   = false;
 }
Exemple #2
0
 public UoWVotingByHand(ShareHolderContext context)
 {
     this.context = context;
 }
Exemple #3
0
 public VotingByHandRepo(ShareHolderContext context)
 {
     this._context = context;
 }
Exemple #4
0
 public VotingCardRepo(ShareHolderContext context)
 {
     _context = context;
 }
Exemple #5
0
 public ShareHolderRepo(ShareHolderContext context)
 {
     this._context = context;
 }