Skip to content

FeodorFitsner/Entity-Framework-Analyzers

 
 

Repository files navigation

Entity Framework Analyzers NuGet Version

Code Analyzers and fixes for common Entity Framework issues built by .NET Compiler Platform ("Roslyn")

Available Analyzers

Use Include method with lambda expression overload

Use Include method with lambda expression overload. This provides compile time validation and refactoring support

Use Skip/Take with lambda expression

Using Skip/Take overload which takes lambda expression will generate parameterized sql statement. Query execution plan for the statement can be reused for different values of parameters.

Calling class constructor on Queryable will throw an exception

Calling class constructor on Queryable will throw an exception because it cannot be translated to sql statement

##How to get it

Entity Framework Analyzers is available on Nuget. To add the analyzers to your project run the following command in the Visual Studio Package Manager Console:

PM> Install-Package EntityFrameworkAnalyzers 

About

Code Analyzers and Fixers for Common Entity Framework Issues.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 96.1%
  • PowerShell 3.9%