Skip to main content

PostgreSqlDecimalConverter

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

Inherited Properties

ColumnDefinition

View Source
Declaration
public override string ColumnDefinition { get; }

DbType

View Source
Declaration
public override DbType DbType { get; }

Precision

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

Scale

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

Methods

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

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

System.String

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

GetValue(IDataReader, Int32, Object[])

View Source
Declaration
public override object GetValue(IDataReader reader, int columnIndex, object[] values)
Returns

System.Object

Parameters
TypeName
System.Data.IDataReaderreader
System.Int32columnIndex
System.Object[]values

Inherited 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

Implements