Skip to main content

SqlServerDateTimeConverter

Assembly: ServiceStack.OrmLite.SqlServer.Data.dll
View Source
Declaration
public class SqlServerDateTimeConverter : DateTimeConverter, IOrmLiteConverter

Inherited Properties

ColumnDefinition

View Source
Declaration
public override string ColumnDefinition { get; }

DateStyle

View Source
Declaration
public DateTimeKind DateStyle { get; set; }

DbType

View Source
Declaration
public override DbType DbType { get; }

Methods

ToQuotedString(Type, Object)

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

System.String

Parameters
TypeName
TypefieldType
System.Objectvalue

FromDbValue(Type, Object)

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

System.Object

Parameters
TypeName
TypefieldType
System.Objectvalue

Inherited Methods

DateTimeFmt(DateTime, String)

View Source
Declaration
public virtual string DateTimeFmt(DateTime dateTime, string dateTimeFormat)
Returns

System.String

Parameters
TypeName
DateTimedateTime
System.StringdateTimeFormat

FromDbValue(Object)

View Source
Declaration
public virtual object FromDbValue(object value)
Returns

System.Object

Parameters
TypeName
System.Objectvalue

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