Exemple #1
0
 public SqlDbFactory(IDataProvider <TKey, TValue> dataProvider,
                     SqlUserCommandCreator <TKey, TValue> userCommandCreator,
                     SqlConnectionParams connectionParams, bool hashFromValue)
 {
     _userCommandCreator = new SqlUserCommandCreatorInner <TKey, TValue>(userCommandCreator);
     _dataProvider       = dataProvider;
     _connectionParams   = connectionParams;
     _hashFromValue      = hashFromValue;
 }
Exemple #2
0
 public SqlDbFactory(SqlUserCommandCreator <TKey, TValue> userCommandCreator)
 {
     _userCommandCreator = new SqlUserCommandCreatorInner <TKey, TValue>(userCommandCreator);
 }