MssqlRepository<TRow, TKey> constructor
MssqlRepository<TRow, TKey> (
- MssqlSession session, {
- required MssqlTableBinding<
TRow> binding, - String? schema,
- String? table,
- MssqlDialect? dialect,
- MssqlScopeSelection scope = const MssqlScopeSelection.empty(),
- MssqlClock clock = MssqlClock.serverUtc,
- MssqlChangeHub? changes,
- MssqlCapabilityCache? capabilities,
- 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);