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
Type | Name |
---|---|
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
Type | Name |
---|---|
System.Data.IDataReader | reader |
System.Int32 | columnIndex |
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
Type | Name |
---|---|
System.Nullable<System.Int32> | precision |
System.Nullable<System.Int32> | scale |