Condividi tramite


CosmosModelExtensions.GetHasShadowIds(IReadOnlyModel) Method

Definition

Returns a value indicating whether the setting for always creating the "__id" property can be set from the current configuration source

public static bool? GetHasShadowIds (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetHasShadowIds : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> Nullable<bool>
<Extension()>
Public Function GetHasShadowIds (model As IReadOnlyModel) As Nullable(Of Boolean)

Parameters

model
IReadOnlyModel

The model.

Returns

The configured value.

Applies to