예제 #1
0
 public virtual bool Update(T info)
 {
     db.Entry <T>(info).State = EntityState.Modified;
     return(db.SaveChanges() > 0);
 }