コード例 #1
0
 public EnderecoRepository(TesteCandidatoCEPContext ctx) : base(ctx)
 {
     this.ctx = ctx;
 }
コード例 #2
0
 /// <summary>
 /// Construtor.
 /// </summary>
 /// <param name="ctx"></param>
 public GenericRepository(TesteCandidatoCEPContext ctx)
 {
     this.ctx = ctx;
     dataset  = this.ctx.Set <T>();
 }