Partager via


IUpdateEntry.HasStoreGeneratedValue(IProperty) Method

Definition

Gets a value indicating if the specified property has a store-generated value that has not yet been saved to the entity.

public bool HasStoreGeneratedValue (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member HasStoreGeneratedValue : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
Public Function HasStoreGeneratedValue (property As IProperty) As Boolean

Parameters

property
IProperty

The property to be checked.

Returns

true if the property has a store-gen value, otherwise false.

Applies to