/// <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); }
public PropertyImageRepository(WeeloDbContext context) { this.context = context; }
public UnitOfWorkSqlServerAdapter(WeeloDbContext context) { this.context = context; this.Repositories = new UnitOfWorkSqlServerRepository(this.context); }
public OwnerRepository(WeeloDbContext context) { this.context = context; }
public UnitOfWorkSqlServer(WeeloDbContext context) { this.context = context; }