Example #1
0
 public HomeDeviceRepository(SmartHomeDBContext context) : base(context)
 {
 }
 public Repository(SmartHomeDBContext context)
 {
     _context    = context;
     _Collection = context.Set <T>();
 }
Example #3
0
 public NodeRepository(SmartHomeDBContext context) : base(context)
 {
 }
 public OperationRepository(SmartHomeDBContext context) : base(context)
 {
 }
        internal UnitOfWork(SmartHomeDBContext context)
        {
            this.context = context;

            InicializeLazyLoading();
        }
        private UnitOfWork()
        {
            this.context = new SmartHomeDBContext();

            InicializeLazyLoading();
        }
        internal UnitOfWork(SmartHomeDBContext context)
        {
            this.context = context;

            InicializeLazyLoading();
        }
 public ConnectorRepository(SmartHomeDBContext context) : base(context)
 {
 }
        private UnitOfWork()
        {
            this.context = new SmartHomeDBContext();

            InicializeLazyLoading();
        }
 public ViewRepository(SmartHomeDBContext context) : base(context)
 {
 }
Example #11
0
 public TimeRestrictionRepository(SmartHomeDBContext context) : base(context)
 {
 }
 public ThemesRepository(SmartHomeDBContext context) : base(context)
 {
 }
Example #13
0
 public ConditionalRestrictionRepository(SmartHomeDBContext context) : base(context)
 {
 }