C# Class Shaolinq.Persistence.TypeDescriptor

Datei anzeigen Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
GetPropertyDescriptorByColumnName ( string columnName ) : PropertyDescriptor
GetPropertyDescriptorByPropertyName ( string propertyName ) : PropertyDescriptor
GetRelatedProperty ( Type type ) : PropertyDescriptor
GetRelationshipInfos ( ) : IEnumerable
GetSinglePrimaryKeyExpression ( Expression obj ) : Expression
IsSimpleType ( Type type ) : bool
ToString ( ) : string
TypeDescriptor ( TypeDescriptorProvider typeDescriptorProvider, Type type ) : System

Private Methods

Method Description
AddRelationshipInfo ( RelationshipType relationshipType, PropertyDescriptor relatingProperty, PropertyDescriptor targetProperty ) : void
GetPropertiesInOrder ( ) : IEnumerable
IsValidDataType ( Type type ) : bool

Method Details

GetPropertyDescriptorByColumnName() public method

public GetPropertyDescriptorByColumnName ( string columnName ) : PropertyDescriptor
columnName string
return PropertyDescriptor

GetPropertyDescriptorByPropertyName() public method

public GetPropertyDescriptorByPropertyName ( string propertyName ) : PropertyDescriptor
propertyName string
return PropertyDescriptor

GetRelatedProperty() public method

public GetRelatedProperty ( Type type ) : PropertyDescriptor
type System.Type
return PropertyDescriptor

GetRelationshipInfos() public method

public GetRelationshipInfos ( ) : IEnumerable
return IEnumerable

GetSinglePrimaryKeyExpression() public method

public GetSinglePrimaryKeyExpression ( Expression obj ) : Expression
obj Expression
return Expression

IsSimpleType() public static method

public static IsSimpleType ( Type type ) : bool
type System.Type
return bool

ToString() public method

public ToString ( ) : string
return string

TypeDescriptor() public method

public TypeDescriptor ( TypeDescriptorProvider typeDescriptorProvider, Type type ) : System
typeDescriptorProvider TypeDescriptorProvider
type System.Type
return System