public NjhDataSqlExecutor(DbContext context) { this.DbContext = context; this._dbProvider = context.DbProvider; this.ConnectionString = context.ConnStr; }
public DbContext(string connstr, AbstractDbProvider provider) { this.ConnStr = connstr; this.DbProvider = provider; }