CodeQL library for C#
codeql/csharp-all 3.0.2-dev (changelog, source)
Search

Module EntityFramework

Definitions relating to the Microsoft.EntityFrameworkCore or System.Data.Entity namespaces.

Import path

import semmle.code.csharp.frameworks.EntityFramework

Classes

DbContext

The class Microsoft.EntityFrameworkCore.DbContext or System.Data.Entity.DbContext.

DbQuery

The class Microsoft.EntityFrameworkCore.DbQuery`1 or System.Data.Entity.DbQuery`1.

DbSet

The class Microsoft.EntityFrameworkCore.DbSet`1 or System.Data.Entity.DbSet`1.

EFNamespace

An EF6 or EFCore namespace.

EFSummarizedCallable

A flow summary for EntityFramework.

EntityFrameworkCoreSqlSink

A call to a method in EntityFrameworkCore that executes SQL.

MappedProperty

A property that is potentially stored and retrieved from a database.

MappedType

A type that is mapped to database table, or used as a query.

StoredFlowSource

A taint source where the data has come from a mapped property stored in the database.