Class ValueToSqlConverter
- Namespace
- LinqToDB.SqlProvider
- Assembly
- linq2db.dll
public class ValueToSqlConverter
- Inheritance
-
ValueToSqlConverter
- Extension Methods
-
Constructors
ValueToSqlConverter()
public ValueToSqlConverter()
ValueToSqlConverter(params ValueToSqlConverter[]?)
public ValueToSqlConverter(params ValueToSqlConverter[]? converters)
Parameters
converters
ValueToSqlConverter[]
Methods
CanConvert(SqlDataType, DataOptions, object?)
public bool CanConvert(SqlDataType dataType, DataOptions options, object? value)
Parameters
dataType
SqlDataType
options
DataOptions
value
object
Returns
- bool
CanConvert(Type)
public bool CanConvert(Type type)
Parameters
type
Type
Returns
- bool
Convert(StringBuilder, MappingSchema, DataOptions, object?)
public StringBuilder Convert(StringBuilder stringBuilder, MappingSchema mappingSchema, DataOptions options, object? value)
Parameters
stringBuilder
StringBuilder
mappingSchema
MappingSchema
options
DataOptions
value
object
Returns
- StringBuilder
Convert(StringBuilder, MappingSchema, SqlDataType?, DataOptions, object?)
public StringBuilder Convert(StringBuilder stringBuilder, MappingSchema mappingSchema, SqlDataType? dataType, DataOptions options, object? value)
Parameters
stringBuilder
StringBuilder
mappingSchema
MappingSchema
dataType
SqlDataType
options
DataOptions
value
object
Returns
- StringBuilder
SetConverter(Type, Action<StringBuilder, SqlDataType, DataOptions, object>?)
public void SetConverter(Type type, Action<StringBuilder, SqlDataType, DataOptions, object>? converter)
Parameters
type
Type
converter
Action<StringBuilder, SqlDataType, DataOptions, object>
TryConvert(StringBuilder, MappingSchema, DataOptions, object?)
public bool TryConvert(StringBuilder stringBuilder, MappingSchema mappingSchema, DataOptions options, object? value)
Parameters
stringBuilder
StringBuilder
mappingSchema
MappingSchema
options
DataOptions
value
object
Returns
- bool
TryConvert(StringBuilder, MappingSchema, SqlDataType?, DataOptions, object?)
public bool TryConvert(StringBuilder stringBuilder, MappingSchema mappingSchema, SqlDataType? dataType, DataOptions options, object? value)
Parameters
stringBuilder
StringBuilder
mappingSchema
MappingSchema
dataType
SqlDataType
options
DataOptions
value
object
Returns
- bool