Пример #1
0
 public TwitterData(TwitterDb context)
 {
     this.Context       = context;
     this._repositories = new Dictionary <Type, object>();
 }
Пример #2
0
 public Repository(TwitterDb contex)
 {
     this.Contex = contex;
     this.DbSet  = contex.Set <T>();
 }
Пример #3
0
 public HomeController()
 {
     _db = new TwitterDb();
 }