public DbRepository() { Context = ContextManager.Instance <TContext>(); Entities = this.Context.Set <TEntity>(); }