C# Class Shaolinq.Persistence.DefaultTimeSpanSqlDataType

Inheritance: SqlDataType
显示文件 Open project: tumtumtum/Shaolinq

Public Methods

Method Description
ConvertForSql ( object value ) : TypedValue
DefaultTimeSpanSqlDataType ( SqlDataTypeProvider sqlDataTypeProvider, ConstraintDefaultsConfiguration constraintDefaultsConfiguration, Type type ) : System
GetReadExpression ( Expression dataReader, int ordinal ) : Expression
GetSqlName ( PropertyDescriptor propertyDescriptor, ConstraintDefaultsConfiguration constraintDefaults ) : string

Method Details

ConvertForSql() public method

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

DefaultTimeSpanSqlDataType() public method

public DefaultTimeSpanSqlDataType ( SqlDataTypeProvider sqlDataTypeProvider, ConstraintDefaultsConfiguration constraintDefaultsConfiguration, Type type ) : System
sqlDataTypeProvider SqlDataTypeProvider
constraintDefaultsConfiguration ConstraintDefaultsConfiguration
type System.Type
return System

GetReadExpression() public method

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

GetSqlName() public method

public GetSqlName ( PropertyDescriptor propertyDescriptor, ConstraintDefaultsConfiguration constraintDefaults ) : string
propertyDescriptor PropertyDescriptor
constraintDefaults ConstraintDefaultsConfiguration
return string