public TrackableSetValueTest(IDbConnectionProvider dbConnectionProvider, ISqlProvider sqlProvider) : base(useDuplicateCheck: true) { _db = dbConnectionProvider; _mapper = new TrackableSetSqlMapper<int>( sqlProvider, nameof(TrackableSetValueTest), new ColumnDefinition("Value", typeof(int)), null); _mapper.ResetTableAsync(_db.Connection).Wait(); }
public TrackableSetValueTest(IDbConnectionProvider dbConnectionProvider, ISqlProvider sqlProvider) : base(useDuplicateCheck: true) { _db = dbConnectionProvider; _mapper = new TrackableSetSqlMapper <int>( sqlProvider, nameof(TrackableSetValueTest), new ColumnDefinition("Value", typeof(int)), null); _mapper.ResetTableAsync(_db.Connection).Wait(); }
public TrackableSetValueWithHeadKeysTest(IDbConnectionProvider dbConnectionProvider, ISqlProvider sqlProvider) : base(useDuplicateCheck: true) { _db = dbConnectionProvider; _mapper = new TrackableSetSqlMapper <int>( sqlProvider, nameof(TrackableSetValueWithHeadKeysTest), new ColumnDefinition("Value", typeof(int)), new[] { new ColumnDefinition("Head1", typeof(int)), new ColumnDefinition("Head2", typeof(string), 100) }); _mapper.ResetTableAsync(_db.Connection).Wait(); }
public TrackableSetValueWithHeadKeysTest(IDbConnectionProvider dbConnectionProvider, ISqlProvider sqlProvider) : base(useDuplicateCheck: true) { _db = dbConnectionProvider; _mapper = new TrackableSetSqlMapper<int>( sqlProvider, nameof(TrackableSetValueWithHeadKeysTest), new ColumnDefinition("Value", typeof(int)), new[] { new ColumnDefinition("Head1", typeof(int)), new ColumnDefinition("Head2", typeof(string), 100) }); _mapper.ResetTableAsync(_db.Connection).Wait(); }