共用方式為


ShapedQueryCompilingExpressionVisitor.CreateNullKeyValueInNoTrackingQuery Method

Definition

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static Exception CreateNullKeyValueInNoTrackingQuery (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, object?[] keyValues);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member CreateNullKeyValueInNoTrackingQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> * obj[] -> Exception
Public Shared Function CreateNullKeyValueInNoTrackingQuery (entityType As IEntityType, properties As IReadOnlyList(Of IProperty), keyValues As Object()) As Exception

Parameters

entityType
IEntityType
properties
IReadOnlyList<IProperty>
keyValues
Object[]

Returns

Attributes

Applies to