Skip to main content

SqlServerJsonStringConverter

Assembly: ServiceStack.OrmLite.SqlServer.Data.dll
View Source
Declaration
public class SqlServerJsonStringConverter : SqlServerStringConverter, IOrmLiteConverter, IHasColumnDefinitionLength

Inherited Properties

MaxColumnDefinition

View Source
Declaration
public override string MaxColumnDefinition { get; }

MaxVarCharLength

View Source
Declaration
public override int MaxVarCharLength { get; }

Methods

FromDbValue(Type, Object)

View Source
Declaration
public override object FromDbValue(Type fieldType, object value)
Returns

System.Object

Parameters
TypeName
TypefieldType
System.Objectvalue

ToDbValue(Type, Object)

View Source
Declaration
public override object ToDbValue(Type fieldType, object value)
Returns

System.Object

Parameters
TypeName
TypefieldType
System.Objectvalue

Inherited Methods

GetColumnDefinition(Nullable<Int32>)

View Source
Declaration
public override string GetColumnDefinition(int? stringLength)
Returns

System.String

Parameters
TypeName
System.Nullable<System.Int32>stringLength

InitDbParam(IDbDataParameter, Type)

View Source
Declaration
public override void InitDbParam(IDbDataParameter p, Type fieldType)
Parameters
TypeName
IDbDataParameterp
TypefieldType

Implements