CoreStrings.IncludeOnEntityWithDefiningQueryNotSupported Method

Definition

Overloads

IncludeOnEntityWithDefiningQueryNotSupported(Object)

Include is not supported for entities with defining query. Entity type: '{entityType}'

IncludeOnEntityWithDefiningQueryNotSupported(Object, Object)
Obsolete.

The 'Include' operation with argument '{expression}' is not supported on entity type '{entityType}' because it has a defining query.

IncludeOnEntityWithDefiningQueryNotSupported(Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

Include is not supported for entities with defining query. Entity type: '{entityType}'

C#
public static string IncludeOnEntityWithDefiningQueryNotSupported (object entityType);

Parameters

entityType
Object

Returns

Applies to

Entity Framework Core 3.1 and Entity Framework Core 3.0
Product Versions
Entity Framework Core 3.0, 3.1

IncludeOnEntityWithDefiningQueryNotSupported(Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

Caution

This API is now deprecated.

The 'Include' operation with argument '{expression}' is not supported on entity type '{entityType}' because it has a defining query.

C#
[System.Obsolete]
public static string IncludeOnEntityWithDefiningQueryNotSupported (object expression, object entityType);
C#
[System.Obsolete]
public static string IncludeOnEntityWithDefiningQueryNotSupported (object? expression, object? entityType);

Parameters

expression
Object
entityType
Object

Returns

Attributes

Applies to

Entity Framework Core 9.0 and other versions
Product Versions (Obsolete)
Entity Framework Core (5.0, 6.0, 7.0, 8.0, 9.0)