/// <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)); }
public override object ToDb(IDbBindingCache bindingCache, DbDataType dataType, Type type, object value) { return(MySqlDataType.TranslateToDb(dataType, type, value)); }