C# Class EFLinqAnalyzer.EFUsageContext

An Entity Framework specific view of the current semantic model Symbols of interest to Entity Framework are stashed for easy lookup
Afficher le fichier Open project: jumpinjackie/roslyn-ef-linq-analyzer Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Build() public méthode

Builds the EF-specific view of the current semantic model
public Build ( ) : bool
Résultat bool

EFUsageContext() public méthode

public EFUsageContext ( SyntaxNodeAnalysisContext context ) : Microsoft.CodeAnalysis
context SyntaxNodeAnalysisContext
Résultat Microsoft.CodeAnalysis

GetClassForProperty() public méthode

Gets the applicable EF classes for the given property name.
public GetClassForProperty ( string propertyName ) : ImmutableArray
propertyName string
Résultat ImmutableArray

GetClassInfo() public méthode

Gets the EF class info for the given type symbol. Returns null if no such class found
public GetClassInfo ( ITypeSymbol typeArg ) : EFCodeFirstClassInfo
typeArg ITypeSymbol
Résultat EFCodeFirstClassInfo