示例#1
0
 public EFRepository(STERLINGASSETContext context)
 {
     if (context == null)
     {
         throw new ArgumentNullException("context");
     }
     Context = context;
     dbSet   = Context.Set <T>();
 }