Exemplo n.º 1
0
 public void Insert(T t)
 {
     context.Entry(t).State = EntityState.Added;
     context.SaveChanges();
 }