C# Class Shaolinq.Persistence.UniversalTimeNormalisingDateTimeSqlDateType

Inheritance: PrimitiveSqlDataType
Exibir arquivo Open project: tumtumtum/Shaolinq

Public Methods

Method Description
ConvertForSql ( object value ) : TypedValue
GetReadExpression ( Expression dataReader, int ordinal ) : Expression
SpecifyKindIfUnspecified ( System.DateTime dateTime, DateTimeKind kind ) : System.DateTime
SpecifyKindIfUnspecified ( System.DateTime dateTime, DateTimeKind kind ) : DateTime?
UniversalTimeNormalisingDateTimeSqlDateType ( ConstraintDefaultsConfiguration constraintDefaultsConfiguration, string typeName, bool nullable ) : System

Method Details

ConvertForSql() public method

public ConvertForSql ( object value ) : TypedValue
value object
return TypedValue

GetReadExpression() public method

public GetReadExpression ( Expression dataReader, int ordinal ) : Expression
dataReader System.Linq.Expressions.Expression
ordinal int
return System.Linq.Expressions.Expression

SpecifyKindIfUnspecified() public static method

public static SpecifyKindIfUnspecified ( System.DateTime dateTime, DateTimeKind kind ) : System.DateTime
dateTime System.DateTime
kind DateTimeKind
return System.DateTime

SpecifyKindIfUnspecified() public static method

public static SpecifyKindIfUnspecified ( System.DateTime dateTime, DateTimeKind kind ) : DateTime?
dateTime System.DateTime
kind DateTimeKind
return DateTime?

UniversalTimeNormalisingDateTimeSqlDateType() public method

public UniversalTimeNormalisingDateTimeSqlDateType ( ConstraintDefaultsConfiguration constraintDefaultsConfiguration, string typeName, bool nullable ) : System
constraintDefaultsConfiguration ConstraintDefaultsConfiguration
typeName string
nullable bool
return System