C# 클래스 EFLinqAnalyzer.EFUsageContext

An Entity Framework specific view of the current semantic model Symbols of interest to Entity Framework are stashed for easy lookup
파일 보기 프로젝트 열기: jumpinjackie/roslyn-ef-linq-analyzer 1 사용 예제들

공개 메소드들

메소드 설명
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