public Repository(IThinkShareDbContext context) { this.context = context; this.set = context.Set <T>(); }
public ThinkShareData(IThinkShareDbContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }