Condividi tramite


SqlServerEntityTypeExtensions.UseSqlOutputClause Metodo

Definizione

Overload

UseSqlOutputClause(IMutableEntityType, Nullable<Boolean>)

Imposta un valore che indica se usare la clausola SQL OUTPUT durante il salvataggio delle modifiche alla tabella. La clausola OUTPUT non è compatibile con determinate funzionalità SQL Server, ad esempio tabelle con trigger.

UseSqlOutputClause(IConventionEntityType, Nullable<Boolean>, Boolean)

Imposta un valore che indica se usare la clausola SQL OUTPUT durante il salvataggio delle modifiche alla tabella. La clausola OUTPUT non è compatibile con determinate funzionalità SQL Server, ad esempio tabelle con trigger.

UseSqlOutputClause(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier)

Imposta un valore che indica se usare la clausola SQL OUTPUT durante il salvataggio delle modifiche alla tabella. La clausola OUTPUT non è compatibile con determinate funzionalità SQL Server, ad esempio tabelle con trigger.

UseSqlOutputClause(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean)

Imposta un valore che indica se usare la clausola SQL OUTPUT durante il salvataggio delle modifiche alla tabella. La clausola OUTPUT non è compatibile con determinate funzionalità SQL Server, ad esempio tabelle con trigger.

UseSqlOutputClause(IMutableEntityType, Nullable<Boolean>)

Imposta un valore che indica se usare la clausola SQL OUTPUT durante il salvataggio delle modifiche alla tabella. La clausola OUTPUT non è compatibile con determinate funzionalità SQL Server, ad esempio tabelle con trigger.

public static void UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, bool? useSqlOutputClause);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<bool> -> unit
<Extension()>
Public Sub UseSqlOutputClause (entityType As IMutableEntityType, useSqlOutputClause As Nullable(Of Boolean))

Parametri

entityType
IMutableEntityType

Tipo di entità.

useSqlOutputClause
Nullable<Boolean>

Il valore da impostare.

Si applica a

UseSqlOutputClause(IConventionEntityType, Nullable<Boolean>, Boolean)

Imposta un valore che indica se usare la clausola SQL OUTPUT durante il salvataggio delle modifiche alla tabella. La clausola OUTPUT non è compatibile con determinate funzionalità SQL Server, ad esempio tabelle con trigger.

public static bool? UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool? useSqlOutputClause, bool fromDataAnnotation = false);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<bool> * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlOutputClause (entityType As IConventionEntityType, useSqlOutputClause As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

Parametri

entityType
IConventionEntityType

Tipo di entità.

useSqlOutputClause
Nullable<Boolean>

Il valore da impostare.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata usando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a

UseSqlOutputClause(IMutableEntityType, Nullable<Boolean>, StoreObjectIdentifier)

Imposta un valore che indica se usare la clausola SQL OUTPUT durante il salvataggio delle modifiche alla tabella. La clausola OUTPUT non è compatibile con determinate funzionalità SQL Server, ad esempio tabelle con trigger.

public static void UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, bool? useSqlOutputClause, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Nullable<bool> * StoreObjectIdentifier -> unit
<Extension()>
Public Sub UseSqlOutputClause (entityType As IMutableEntityType, useSqlOutputClause As Nullable(Of Boolean), ByRef storeObject As StoreObjectIdentifier)

Parametri

entityType
IMutableEntityType

Tipo di entità.

useSqlOutputClause
Nullable<Boolean>

Il valore da impostare.

storeObject
StoreObjectIdentifier

Identificatore dell'oggetto store simile alla tabella.

Si applica a

UseSqlOutputClause(IConventionEntityType, Nullable<Boolean>, StoreObjectIdentifier, Boolean)

Imposta un valore che indica se usare la clausola SQL OUTPUT durante il salvataggio delle modifiche alla tabella. La clausola OUTPUT non è compatibile con determinate funzionalità SQL Server, ad esempio tabelle con trigger.

public static bool? UseSqlOutputClause (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, bool? useSqlOutputClause, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member UseSqlOutputClause : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Nullable<bool> * StoreObjectIdentifier * bool -> Nullable<bool>
<Extension()>
Public Function UseSqlOutputClause (entityType As IConventionEntityType, useSqlOutputClause As Nullable(Of Boolean), ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

Parametri

entityType
IConventionEntityType

Tipo di entità.

useSqlOutputClause
Nullable<Boolean>

Il valore da impostare.

storeObject
StoreObjectIdentifier

Identificatore dell'oggetto store simile alla tabella.

fromDataAnnotation
Boolean

Indica se la configurazione è stata specificata usando un'annotazione dati.

Restituisce

Il valore configurato.

Si applica a