Lingua

RelationalModelValidator.GetDefaultColumnValue Metodo

Definizione

Restituisce l'oggetto utilizzato come valore predefinito per la colonna a cui viene mappata la proprietà.

protected virtual object? GetDefaultColumnValue(Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
protected virtual object GetDefaultColumnValue(Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
abstract member GetDefaultColumnValue : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> obj
override this.GetDefaultColumnValue : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> obj
Protected Overridable Function GetDefaultColumnValue (property As IProperty, storeObject As StoreObjectIdentifier) As Object

Parametri

property
IProperty

Proprietà per cui ottenere il valore predefinito.

storeObject
StoreObjectIdentifier

Identificatore dell'oggetto store.

Valori restituiti

Oggetto utilizzato come valore predefinito per la colonna a cui viene mappata la proprietà.

Si applica a