C# Класс EFLinqAnalyzer.EFCodeFirstClassInfo

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

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

Метод Описание
HasCollectionNavigationProperties ( ) : bool

Returns true if this class has any collection navigation properties

HasProperty ( string name ) : bool

Returns true if this class has a property of the given name

HasReadOnlyProperties ( ) : bool

Returns true if this class has any read-only properties

IsCollectionNavigationProperty ( string propertyName ) : bool

Returns true if the given property is a collection navigation property

IsExplicitlyUnmapped ( string name ) : bool

Returns true if the given property name has a NotMappedAttribute applied

IsReadOnly ( string name ) : bool

Returns true if the given property name is read-only

IsUnmapped ( string name ) : bool

Returns true if the given property has the NotMappedAttribute applied

ToString ( ) : string

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

Метод Описание
AddProperties ( IEnumerable symbols, Action regCallback ) : void
EFCodeFirstClassInfo ( INamedTypeSymbol clsType ) : Microsoft.CodeAnalysis
IsValidCollectionType ( string metadataName ) : bool

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

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

Returns true if this class has any collection navigation properties
public HasCollectionNavigationProperties ( ) : bool
Результат bool

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

Returns true if this class has a property of the given name
public HasProperty ( string name ) : bool
name string
Результат bool

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

Returns true if this class has any read-only properties
public HasReadOnlyProperties ( ) : bool
Результат bool

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

Returns true if the given property is a collection navigation property
public IsCollectionNavigationProperty ( string propertyName ) : bool
propertyName string
Результат bool

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

Returns true if the given property name has a NotMappedAttribute applied
public IsExplicitlyUnmapped ( string name ) : bool
name string
Результат bool

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

Returns true if the given property name is read-only
public IsReadOnly ( string name ) : bool
name string
Результат bool

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

Returns true if the given property has the NotMappedAttribute applied
public IsUnmapped ( string name ) : bool
name string
Результат bool

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

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