Exemplo n.º 1
0
 public TwitterData(TwitterDb context)
 {
     this.Context       = context;
     this._repositories = new Dictionary <Type, object>();
 }
Exemplo n.º 2
0
 public Repository(TwitterDb contex)
 {
     this.Contex = contex;
     this.DbSet  = contex.Set <T>();
 }
Exemplo n.º 3
0
 public HomeController()
 {
     _db = new TwitterDb();
 }