ErrLookup › dotnet/efcore

dotnet/efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. · C# · 2,845 source files

Analyzed at 3a2006ef56 on 2026-08-11. 429 documented errors.

Code / MessageTypeSeverityTags
The LINQ expression ' ' could not be translated. Additional…
exception error efcore, inmemory, query-translation, groupby, client-eval
A call was made to ' ' that changed an option that must be…
exception critical cosmos, di, singleton-options, configuration, service-provider
The property ' . ' is mapped to an output parameter of the…
exception error ef-core, stored-procedures, model-validation, store-generated
Unhandled expression
exception error cosmos, linq, query-translation, sql-generation, internal
Entity type ' ' is an optional dependent using table…
exception error ef-core, owned-types, table-sharing, model-validation, optional-dependent
The partition key property
exception error ef-core, cosmos, model-validation, partition-key, shared-container
Couldn't find single Add method on type
exception error precompiled-queries, roslyn, object-creation, collection-initializer, reflection, expression-tree
'FromSql' or 'SqlQuery' was called with non-composable SQL…
exception error efcore, fromsql, sql, query-translation
The type ' ' used for shared entity type ' ' is not…
exception error efcore, proxies, change-tracking, shared-type, indexer, dictionary, model-building
LINQ query comprehension syntax is currently not supported…
exception error precompiled-queries, roslyn, linq, query-syntax, not-supported, expression-tree
The check constraint
exception error check-constraints, inheritance, conventions, model-validation
The requested configuration is not stored in the…
exception error ef-core, cosmos, metadata, runtime-model, vector-search
The project language
exception error design-time, migrations, code-generation, language, scaffolding
The mapped indexer property on entity type
exception error efcore, proxies, change-tracking, indexer, model-building, virtual
Entity type ' ' has a split mapping for ' ' that is shared…
exception error ef-core, model-validation, mapping, table-splitting, owned-types
The entity type ' ' is sharing the container ' ' with other…
exception error ef-core, cosmos, model-validation, discriminator, shared-container
The entity type ' ' is mapped to the container ' ' but it…
exception error ef-core, cosmos, model-validation, owned-types, container
Unnamed captured variable
exception error expression-trees, precompiled-queries, compiled-model, linq
'UseChangeTrackingProxies' and 'UseLazyLoadingProxies' each…
exception error efcore, proxies, di, service-provider, configuration
Invocation over non-member access
exception error precompiled-queries, roslyn, method-invocation, member-access, expression-tree
Property ' . ' is not virtual. 'UseChangeTrackingProxies'…
exception error efcore, proxies, change-tracking, virtual, navigation, model-building
Cannot create a 'SelectExpression' with a custom…
exception error efcore, inheritance, fromsql, discriminator, select-expression
The partition key properties for entity type
exception error ef-core, cosmos, model-validation, partition-key, shared-container
The entity type ' ' has a custom constructor binding…
exception error compiled-model, constructor-binding, entity-types, scaffolding
The value ' ' provided for argument ' ' must be a valid…
validation error ef-core, cosmos, validation, enum, vector-search
Named default constraints cannot be used with TPC or entity…
exception error default-constraints, tpc, entity-splitting, conventions
The DbFunction ' ' returns ' ', but ' ' is not a mapped…
exception error efcore, relational, dbfunction, model-validation, tvf, entity-mapping
Your target project ' ' doesn't match your migrations…
exception error migrations, assembly, project-layout, configuration
Complex property ' ' cannot use 'HasJsonPropertyName()'…
exception error complex-type, json-mapping, configuration-conflict, model-validation
ObjectCreation: non-assignment initializer expression of…
exception error precompiled-queries, roslyn, object-creation, initializer, csharp-syntax, expression-tree
Lambda with null expression body
exception error precompiled-queries, roslyn, lambda, statement-lambda, expression-tree, not-supported
A synchronous store management operation was performed and…
exception error efcore, inmemory, seeding, configuration, sync-async
No backing field was found for property
exception error compiled-model, backing-field, property-access-mode, unsafe-accessors, scaffolding
Unable to translate set operation after client projection…
exception error efcore, inmemory, query-translation, set-operations, client-eval
Subquery with index projection binding
exception error cosmos, query-translation, subquery, not-implemented
'DefaultIfEmpty' cannot be applied after a client-evaluated…
exception error efcore, inmemory, query-translation, defaultifempty, left-join
The DbFunction ' ' returns a SqlExpression of type ' '…
exception error efcore, dbfunction, translation, nullable, model-configuration
The discriminator value for
exception error ef-core, cosmos, model-validation, discriminator, shared-container
The property ' ' on entity type ' ' is not mapped to ' '.
exception error model-validation, table-sharing, column-mapping, migrations
Complex property ' ' cannot have both a JSON column name ('…
exception error complex-type, json-mapping, configuration-conflict, model-validation
The partition key value supplied for
exception error ef-core, cosmos, partition-key, type-conversion, validation
The optional complex property
exception error complex-type, optional, table-sharing, discriminator, model-validation
An error occurred while reading a database value. The…
exception error materialization, null-value, value-type, data-reader
The ' ' method is not supported because the query has…
exception error ef-core, cosmos, linq-translation, db-functions, client-evaluation
A vector index is defined for
exception error cosmos, vector-search, model-validation, configuration
An Azure Cosmos DB container name is defined on entity type
exception error ef-core, cosmos, model-validation, inheritance, container
Explicitly named default constraints cannot be used with…
exception error default-constraints, tpc, entity-splitting, conventions
The property ' ' cannot be configured as…
exception error cosmos, model-validation, key, value-generated, configuration
Compound assignment of private property not yet supported
exception error ef-core, expression-trees, reflection, unsafe-accessor, compound-assignment, properties, code-generation
Invocation: Found matches for generic method
exception error precompiled-queries, roslyn, reflection, generic-methods, method-resolution, expression-tree
Specified argument was out of the range of valid values…
validation error ef-core, cosmos, validation, enum, configuration
The property ' ' on type ' ' cannot be configured as not…
exception error ef-core, cosmos, model-validation, auto-loaded, configuration
Unsupported LINQ unary node
exception error expression-trees, precompiled-queries, compiled-model, linq, unary-operator
The table ' ' cannot be used for entity type ' ' since it…
exception error ef-core, table-sharing, migrations, model-validation
A DbCommand cannot be created for a non-relational query.
exception error non-relational, in-memory-provider, dbcommand, diagnostics
Input parameter ' ' of update stored procedure ' ' is…
exception error ef-core, stored-procedures, model-validation, savechanges
The type ' ' is configured as a shared-type entity type…
exception error ef-core, proxies, shared-type-entity, dbset, configuration
Unhandled annotatable type
validation error ef-core, design-time, annotations, scaffolding, code-generation
The results of a split query could not be correlated…
exception error split-query, concurrency, transaction-isolation, data-integrity
Cosmos-specific methods can only be used when the context…
exception error ef-core, cosmos, provider-mismatch, configuration
Unary node with non-null method
exception error expression-trees, precompiled-queries, compiled-model, linq, unary-operator
MemberAccess on multi-dimensional array
exception error precompiled-queries, roslyn, array, member-access, not-implemented, expression-tree
Property ' ' on entity type ' ' is mapped without a CLR…
exception error efcore, proxies, change-tracking, navigation, field-only, model-building
The index over properties
exception error cosmos, model-validation, indexing, owned-types, configuration
The entity type ' ' is owned by the entity type ' ', but is…
exception error ef-core, cosmos, model-validation, owned-types, container
The exception list configured for Cosmos automatic indexing…
exception error cosmos, model-validation, indexing, configuration
Creating a container with full-text search or vector…
exception error cosmos, vector-search, full-text, owned-collection, container-creation
Required properties ' ' are missing for the instance of…
exception error efcore, inmemory, validation, required-properties, sensitive-data, savechanges
The entity type ' ' does not have a property mapped to the…
exception error cosmos, id-property, document-root, conventions, model-configuration
Unsupported numeric type mapping
exception error cosmos, type-mapping, numeric, internal-api, decimal
The entity type ' ' is mapped to the stored procedure ' '…
exception error ef-core, stored-procedures, model-validation
The IsDiscriminatorMappingComplete setting was configured to
exception error cosmos, model-validation, discriminator, tph, configuration
The entity type ' ' is sharing the container ' ' with other…
exception error ef-core, cosmos, model-validation, discriminator, shared-container
None of connection string, CredentialToken, account key or…
exception critical cosmos, configuration, connection-string, startup
The index on the entity type ' ' cannot be configured…
exception error json, complex-types, indexes, model-validation
The property ' . ' is mapped to a result column of the…
exception error ef-core, stored-procedures, model-validation, store-generated
The current migration SQL generator
exception error migrations, sql-generation, provider, extensibility
The LINQ expression ' ' could not be translated. Either…
exception error linq-translation, projection, client-evaluation, parameter-expression
When using AutoTransactionBehavior.Always with the Cosmos…
exception error cosmos, autotransactionbehavior, triggers, savechanges, atomicity
Lambda with modifiers not supported
exception error ef-core, query-translation, linq-expressions, csharp, precompiled-queries, roslyn
No DbContext was found in assembly
exception error migrations, context-discovery, assembly, design-time
The name you have chosen for the migration
exception error migrations, naming, code-generation, conflict
The provider for the source 'IQueryable' doesn't implement…
exception error ef-core, cosmos, async, paging, queryable
Complex property ' ' is mapped to JSON but its containing…
exception error complex-type, nested-complex, json-mapping, model-validation
You cannot add a migration with the name 'Migration'.
exception error migrations, naming, code-generation, conflict
' . ' and ' . ' are both mapped to column ' ' in ' ', but…
exception error model-validation, column-mapping, inheritance, relational
Encountered a constant of unsupported type
exception error ef-core, expression-trees, constants, code-generation, closures, csharp
The following lambda argument to 'SetProperty' does not…
exception error efcore, executeupdate, setproperty, lambda, query-translation
The table ' ' cannot be used for entity type ' ' since it…
exception error ef-core, table-sharing, inheritance, model-validation
SHA256 mismatch for : expected , got
exception error integrity, network, sha256, deb, mirror
Changes have been made to the model since the last…
exception warning migrations, model-diff, snapshot, design-time
Complex projections in subqueries are currently unsupported.
exception error cosmos, query-translation, subquery, projection
ObjectCreation: couldn't find initialized member
exception error precompiled-queries, roslyn, reflection, object-creation, initializer, member-binding
The type ' ' cannot be mapped as a dictionary because it…
exception error ef-core, cosmos, change-tracking, dictionary-mapping, type-mismatch
The property ' . ' has a value generator configured. Use '…
exception error compiled-model, value-generator, entity-types, scaffolding
The entity type ' ' cannot be instantiated because its…
exception error model-validation, inheritance, tpc, abstract, relational
Entity type ' ' has a split mapping for ' ', but the…
exception error entity-splitting, model-validation, primary-key, relational
ObjectCreation: Missing constructor
exception error precompiled-queries, roslyn, reflection, object-creation, constructor, expression-tree
The element type of the result of
exception error efcore, relational, dbfunction, tvf, inheritance, tph, tpt, tpc, discriminator, model-validation
The entity type ' ' is mapped to the stored procedure ' '…
exception error ef-core, stored-procedures, model-validation