Share via


RelationalPropertyExtensions.GetDefaultValueSql Metodo

Definizione

Overload

GetDefaultValueSql(IProperty)

Restituisce l'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping.

GetDefaultValueSql(IReadOnlyProperty)

Restituisce l'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping.

GetDefaultValueSql(IProperty, StoreObjectIdentifier)

Restituisce l'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping.

GetDefaultValueSql(IReadOnlyProperty, StoreObjectIdentifier)

Restituisce l'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping.

GetDefaultValueSql(IProperty)

Restituisce l'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping.

public static string GetDefaultValueSql (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetDefaultValueSql : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetDefaultValueSql (property As IProperty) As String

Parametri

property
IProperty

Proprietà.

Restituisce

L'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping di questa proprietà.

Si applica a

GetDefaultValueSql(IReadOnlyProperty)

Restituisce l'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping.

public static string? GetDefaultValueSql (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetDefaultValueSql : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetDefaultValueSql (property As IReadOnlyProperty) As String

Parametri

property
IReadOnlyProperty

Proprietà.

Restituisce

L'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping di questa proprietà.

Si applica a

GetDefaultValueSql(IProperty, StoreObjectIdentifier)

Restituisce l'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping.

public static string GetDefaultValueSql (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultValueSql : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultValueSql (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As String

Parametri

property
IProperty

Proprietà.

storeObject
StoreObjectIdentifier

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

Restituisce

L'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping di questa proprietà.

Si applica a

GetDefaultValueSql(IReadOnlyProperty, StoreObjectIdentifier)

Restituisce l'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping.

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

Parametri

property
IReadOnlyProperty

Proprietà.

storeObject
StoreObjectIdentifier

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

Restituisce

L'espressione SQL usata come valore predefinito per la colonna a cui viene eseguito il mapping di questa proprietà.

Si applica a