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