Esempio n. 1
0
        //private readonly IUpdatingRepository _updateRepository;

        public TVMovieRepository(LiveContext liveContext, IMapper autoMapper, SqlConnectingSettings sql)
        {
            this._liveContext = liveContext;
            this._autoMapper  = autoMapper;
            this._sql         = sql;
            //  this._updateRepository = updateRepository;
        }
 public UpdatingRepository(LiveContext liveContext, IMapper autoMapper,
                           SqlConnectingSettings sql, ITVMovieRepository tvMovieRepository)
 {
     this._context    = liveContext;
     this._autoMapper = autoMapper;
     // this._sql = sql;
     this._tvMovieRepository = tvMovieRepository;
 }
Esempio n. 3
0
 public LiveContext(SqlConnectingSettings SqlSettings)
 {
     _sqlSettings = SqlSettings;
 }
Esempio n. 4
0
 public LiveContext(DbContextOptions <LiveContext> options, SqlConnectingSettings SqlSettings) : base(options)
 {
     _sqlSettings = SqlSettings;
 }