public DisplayRepository(DcvEntities entities) : base(entities) { }
public FurnitureRepository(DcvEntities entities) : base(entities) { }
public BookRepository(DcvEntities entities) : base(entities) { }
public EquipmentRepository(DcvEntities entities) : base(entities) { }
public int defaultLocation = 6; // id in DB public BaseRepository(DcvEntities entities) { Entities = entities; }
public SearchRepository(DcvEntities entities) { Entities = entities; }
public ExportRepository(DcvEntities entities) { this.entities = entities; search = new SearchRepository(entities); }
public RestControllerBase() { Entities = new DcvEntities(Properties.Resources.ResourceManager.GetString("ProductionConnection")); Repo = GetRepository <T>() as BaseRepository <T>; Logic = GetLogic <T>() as BaseLogic <T>; }