CharConverter
Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public class CharConverter : StringConverter, IOrmLiteConverter, IHasColumnDefinitionLength
Properties
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; }
MaxColumnDefinition
View Source
Declaration
public virtual string MaxColumnDefinition { get; set; }
MaxVarCharLength
View Source
Declaration
public virtual int MaxVarCharLength { get; }
StringLength
View Source
Declaration
public int StringLength { get; set; }
UseUnicode
View Source
Declaration
public bool UseUnicode { get; set; }
Methods
GetColumnDefinition(Nullable<Int32>)
View Source
Declaration
public override string GetColumnDefinition(int? stringLength)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | stringLength |
FromDbValue(Type, Object)
View Source
Declaration
public override object FromDbValue(Type fieldType, object value)
Returns
System.Object
Parameters
Type | Name |
---|---|
Type | fieldType |
System.Object | value |
ToDbValue(Type, Object)
View Source
Declaration
public override object ToDbValue(Type fieldType, object value)
Returns
System.Object
Parameters
Type | Name |
---|---|
Type | fieldType |
System.Object | value |
Inherited Methods
FromDbValue(Type, Object)
View Source
Declaration
public override object FromDbValue(Type fieldType, object value)
Returns
System.Object
Parameters
Type | Name |
---|---|
Type | fieldType |
System.Object | value |
GetColumnDefinition(Nullable<Int32>)
View Source
Declaration
public virtual string GetColumnDefinition(int? stringLength)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | stringLength |
InitDbParam(IDbDataParameter, Type)
View Source
Declaration
public override void InitDbParam(IDbDataParameter p, Type fieldType)
Parameters
Type | Name |
---|---|
IDbDataParameter | p |
Type | fieldType |