示例#1
0
 public virtual T Get(long id)
 {
     return(context.Set <T>().Find(id));
 }
 public virtual T Get(long id)
 {
     return(_databaseContext.Set <T>().Find(id));
 }