예제 #1
0
 /// <summary>
 /// Gets a SQL type name.
 /// </summary>
 public override string GetSqlType(DbDataType dataType, Type type = null, ulong?size = null, int?precision = null)
 {
     return(MySqlDataType.Translate(dataType, type, size, precision));
 }
예제 #2
0
 public override object ToDb(IDbBindingCache bindingCache, DbDataType dataType, Type type, object value)
 {
     return(MySqlDataType.TranslateToDb(dataType, type, value));
 }