コード例 #1
0
 /// <summary>
 /// Contructor de la clase
 /// </summary>
 /// <param name="context">Contexto de base de datos</param>
 public UnitOfWorkSqlServerRepository(WeeloDbContext context)
 {
     this.context  = context;
     Owner         = new OwnerRepository(this.context);
     PropertyImage = new PropertyImageRepository(this.context);
     Property      = new PropertyRepository(this.context);
     PropertyTrace = new PropertyTraceRepository(this.context);
 }
コード例 #2
0
 public PropertyImageRepository(WeeloDbContext context)
 {
     this.context = context;
 }
コード例 #3
0
 public UnitOfWorkSqlServerAdapter(WeeloDbContext context)
 {
     this.context      = context;
     this.Repositories = new UnitOfWorkSqlServerRepository(this.context);
 }
コード例 #4
0
 public OwnerRepository(WeeloDbContext context)
 {
     this.context = context;
 }
コード例 #5
0
 public UnitOfWorkSqlServer(WeeloDbContext context)
 {
     this.context = context;
 }