Skip to main content

DecimalConverter

Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public class DecimalConverter : FloatConverter, IOrmLiteConverter, IHasColumnDefinitionPrecision

Properties

Precision

View Source
Declaration
public int Precision { get; set; }

Scale

View Source
Declaration
public int Scale { get; set; }

ColumnDefinition

View Source
Declaration
public override string ColumnDefinition { get; }

DbType

View Source
Declaration
public override DbType DbType { get; }

Inherited Properties

ColumnDefinition

View Source
Declaration
public override string ColumnDefinition { get; }

DbType

View Source
Declaration
public override DbType DbType { get; }

Methods

GetColumnDefinition(Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
public virtual string GetColumnDefinition(int? precision, int? scale)
Returns

System.String

Parameters
TypeName
System.Nullable<System.Int32>precision
System.Nullable<System.Int32>scale

Inherited 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

ToQuotedString(Type, Object)

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

System.String

Parameters
TypeName
TypefieldType
System.Objectvalue

Implements