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
Type | Name |
---|---|
Type | fieldType |
System.Object | value |
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 |
Inherited Methods
DateTimeFmt(DateTime, String)
View Source
Declaration
public virtual string DateTimeFmt(DateTime dateTime, string dateTimeFormat)
Returns
System.String
Parameters
Type | Name |
---|---|
DateTime | dateTime |
System.String | dateTimeFormat |
FromDbValue(Object)
View Source
Declaration
public virtual object FromDbValue(object value)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | value |
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 |
ToQuotedString(Type, Object)
View Source
Declaration
public override string ToQuotedString(Type fieldType, object value)
Returns
System.String
Parameters
Type | Name |
---|---|
Type | fieldType |
System.Object | value |