MssqlRepository<TRow, TKey> constructor

MssqlRepository<TRow, TKey>(
  1. MssqlSession session, {
  2. required MssqlTableBinding<TRow> binding,
  3. String? schema,
  4. String? table,
  5. MssqlDialect? dialect,
  6. MssqlScopeSelection scope = const MssqlScopeSelection.empty(),
  7. MssqlClock clock = MssqlClock.serverUtc,
  8. MssqlChangeHub? changes,
  9. MssqlCapabilityCache? capabilities,
  10. MssqlQueryOptions options = MssqlQueryOptions.defaults,
})

Implementation

MssqlRepository(
  this.session, {
  required MssqlTableBinding<TRow> binding,
  String? schema,
  String? table,
  this.dialect,
  this.scope = const MssqlScopeSelection.empty(),
  this.clock = MssqlClock.serverUtc,
  this.changes,
  this.capabilities,
  this.options = MssqlQueryOptions.defaults,
}) : binding = binding.forTable(schema: schema, table: table),
     _keyValues = _defaultKeyValues<TKey>(binding);