C# Класс Shaolinq.Persistence.TypeDescriptor

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddRelationshipInfo ( RelationshipType relationshipType, PropertyDescriptor relatingProperty, PropertyDescriptor targetProperty ) : void
GetPropertiesInOrder ( ) : IEnumerable
IsValidDataType ( Type type ) : bool

Описание методов

GetPropertyDescriptorByColumnName() публичный Метод

public GetPropertyDescriptorByColumnName ( string columnName ) : PropertyDescriptor
columnName string
Результат PropertyDescriptor

GetPropertyDescriptorByPropertyName() публичный Метод

public GetPropertyDescriptorByPropertyName ( string propertyName ) : PropertyDescriptor
propertyName string
Результат PropertyDescriptor

GetRelatedProperty() публичный Метод

public GetRelatedProperty ( Type type ) : PropertyDescriptor
type System.Type
Результат PropertyDescriptor

GetRelationshipInfos() публичный Метод

public GetRelationshipInfos ( ) : IEnumerable
Результат IEnumerable

GetSinglePrimaryKeyExpression() публичный Метод

public GetSinglePrimaryKeyExpression ( Expression obj ) : Expression
obj Expression
Результат Expression

IsSimpleType() публичный статический Метод

public static IsSimpleType ( Type type ) : bool
type System.Type
Результат bool

ToString() публичный Метод

public ToString ( ) : string
Результат string

TypeDescriptor() публичный Метод

public TypeDescriptor ( TypeDescriptorProvider typeDescriptorProvider, Type type ) : System
typeDescriptorProvider TypeDescriptorProvider
type System.Type
Результат System