C# Класс EFLinqAnalyzer.EFUsageContext

An Entity Framework specific view of the current semantic model Symbols of interest to Entity Framework are stashed for easy lookup
Показать файл Открыть проект Примеры использования класса

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

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

Builds the EF-specific view of the current semantic model

EFUsageContext ( SyntaxNodeAnalysisContext context ) : Microsoft.CodeAnalysis
GetClassForProperty ( string propertyName ) : ImmutableArray

Gets the applicable EF classes for the given property name.

GetClassInfo ( ITypeSymbol typeArg ) : EFCodeFirstClassInfo

Gets the EF class info for the given type symbol. Returns null if no such class found

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

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

Builds the EF-specific view of the current semantic model
public Build ( ) : bool
Результат bool

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

public EFUsageContext ( SyntaxNodeAnalysisContext context ) : Microsoft.CodeAnalysis
context SyntaxNodeAnalysisContext
Результат Microsoft.CodeAnalysis

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

Gets the applicable EF classes for the given property name.
public GetClassForProperty ( string propertyName ) : ImmutableArray
propertyName string
Результат ImmutableArray

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

Gets the EF class info for the given type symbol. Returns null if no such class found
public GetClassInfo ( ITypeSymbol typeArg ) : EFCodeFirstClassInfo
typeArg ITypeSymbol
Результат EFCodeFirstClassInfo