public TEntity Get(object Id) { return MisfitDBContext.Set<TEntity>().Find(Id); }
public GenericDataAccess(MisfitDBContext context) { this.MisfitDBContext = context; this.MisfitDBSet = MisfitDBContext.Set<TEntity>(); }
public TEntity Get(object Id) { return MisfitDBContext.Set<TEntity>().Find(Id); }
public GenericDataAccess(MisfitDBContext context) { this.MisfitDBContext = context; this.MisfitDBSet = MisfitDBContext.Set<TEntity>(); }