Share via


RelationalPropertyExtensions.GetDefaultValue Metodo

Definizione

Overload

GetDefaultValue(IProperty)

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

GetDefaultValue(IReadOnlyProperty)

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

GetDefaultValue(IProperty, StoreObjectIdentifier)

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

GetDefaultValue(IReadOnlyProperty, StoreObjectIdentifier)

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

GetDefaultValue(IProperty)

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

public static object GetDefaultValue (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetDefaultValue : Microsoft.EntityFrameworkCore.Metadata.IProperty -> obj
<Extension()>
Public Function GetDefaultValue (property As IProperty) As Object

Parametri

property
IProperty

Proprietà.

Restituisce

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

Si applica a

GetDefaultValue(IReadOnlyProperty)

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

public static object? GetDefaultValue (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetDefaultValue : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> obj
<Extension()>
Public Function GetDefaultValue (property As IReadOnlyProperty) As Object

Parametri

property
IReadOnlyProperty

Proprietà.

Restituisce

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

Si applica a

GetDefaultValue(IProperty, StoreObjectIdentifier)

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

public static object GetDefaultValue (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultValue : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> obj
<Extension()>
Public Function GetDefaultValue (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As Object

Parametri

property
IProperty

Proprietà.

storeObject
StoreObjectIdentifier

Identificatore dell'oggetto archivio simile alla tabella contenente la colonna.

Restituisce

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

Si applica a

GetDefaultValue(IReadOnlyProperty, StoreObjectIdentifier)

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

public static object? GetDefaultValue (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultValue : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> obj
<Extension()>
Public Function GetDefaultValue (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Object

Parametri

property
IReadOnlyProperty

Proprietà.

storeObject
StoreObjectIdentifier

Identificatore dell'oggetto archivio simile alla tabella contenente la colonna.

Restituisce

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

Si applica a