Exemplo n.º 1
0
 public static DbParameter ToDbParameter(this KeyValuePair <string, object> keyValuePair, IDatabaseDriver databaseDriver)
 {
     return(databaseDriver.CreateParameter(databaseDriver.ParseParameterName(keyValuePair.Key), keyValuePair.Value));
 }
Exemplo n.º 2
0
 public DbParameter CreateParameter(string parameterName, object value) => _underlyingDatabaseDriver.CreateParameter(parameterName, value);