C# Class Shaolinq.TypeExtensions

显示文件 Open project: tumtumtum/Shaolinq

Public Methods

Method Description
CreateNewExpression ( this type ) : NewExpression
IsDataAccessObjectType ( this type ) : bool
IsExpressionTree ( this type ) : bool
IsIntegralType ( this type ) : bool
IsNullableType ( this type ) : bool
IsQueryable ( this type ) : bool
ToHumanReadableName ( this type ) : string

Private Methods

Method Description
AppendHumanReadableName ( this type, StringBuilder builder ) : void
CanBeNull ( this type ) : bool
IsTypeRequiringJoin ( this type ) : bool
JoinedObjectType ( this type ) : Type

Method Details

CreateNewExpression() public static method

public static CreateNewExpression ( this type ) : NewExpression
type this
return System.Linq.Expressions.NewExpression

IsDataAccessObjectType() public static method

public static IsDataAccessObjectType ( this type ) : bool
type this
return bool

IsExpressionTree() public static method

public static IsExpressionTree ( this type ) : bool
type this
return bool

IsIntegralType() public static method

public static IsIntegralType ( this type ) : bool
type this
return bool

IsNullableType() public static method

public static IsNullableType ( this type ) : bool
type this
return bool

IsQueryable() public static method

public static IsQueryable ( this type ) : bool
type this
return bool

ToHumanReadableName() public static method

public static ToHumanReadableName ( this type ) : string
type this
return string