Condividi tramite


DbContext.IDbSetCache.GetOrAddSet Metodo

Definizione

Overload

IDbSetCache.GetOrAddSet(IDbSetSource, String, Type)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di Entity Framework Core.

IDbSetCache.GetOrAddSet(IDbSetSource, Type)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di Entity Framework Core.

IDbSetCache.GetOrAddSet(IDbSetSource, String, Type)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di Entity Framework Core.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
object IDbSetCache.GetOrAddSet (Microsoft.EntityFrameworkCore.Internal.IDbSetSource source, string entityTypeName, Type type);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member Microsoft.EntityFrameworkCore.Internal.IDbSetCache.GetOrAddSet : Microsoft.EntityFrameworkCore.Internal.IDbSetSource * string * Type -> obj
override this.Microsoft.EntityFrameworkCore.Internal.IDbSetCache.GetOrAddSet : Microsoft.EntityFrameworkCore.Internal.IDbSetSource * string * Type -> obj
Function GetOrAddSet (source As IDbSetSource, entityTypeName As String, type As Type) As Object Implements IDbSetCache.GetOrAddSet

Parametri

source
Microsoft.EntityFrameworkCore.Internal.IDbSetSource
entityTypeName
String
type
Type

Restituisce

Implementazioni

Microsoft.EntityFrameworkCore.Internal.IDbSetCache.GetOrAddSet(Microsoft.EntityFrameworkCore.Internal.IDbSetSource,System.String,System.Type)
Attributi

Si applica a

IDbSetCache.GetOrAddSet(IDbSetSource, Type)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di Entity Framework Core.

object IDbSetCache.GetOrAddSet (Microsoft.EntityFrameworkCore.Internal.IDbSetSource source, Type type);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
object IDbSetCache.GetOrAddSet (Microsoft.EntityFrameworkCore.Internal.IDbSetSource source, Type type);
abstract member Microsoft.EntityFrameworkCore.Internal.IDbSetCache.GetOrAddSet : Microsoft.EntityFrameworkCore.Internal.IDbSetSource * Type -> obj
override this.Microsoft.EntityFrameworkCore.Internal.IDbSetCache.GetOrAddSet : Microsoft.EntityFrameworkCore.Internal.IDbSetSource * Type -> obj
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member Microsoft.EntityFrameworkCore.Internal.IDbSetCache.GetOrAddSet : Microsoft.EntityFrameworkCore.Internal.IDbSetSource * Type -> obj
override this.Microsoft.EntityFrameworkCore.Internal.IDbSetCache.GetOrAddSet : Microsoft.EntityFrameworkCore.Internal.IDbSetSource * Type -> obj
Function GetOrAddSet (source As IDbSetSource, type As Type) As Object Implements IDbSetCache.GetOrAddSet

Parametri

source
Microsoft.EntityFrameworkCore.Internal.IDbSetSource
type
Type

Restituisce

Implementazioni

Microsoft.EntityFrameworkCore.Internal.IDbSetCache.GetOrAddSet(Microsoft.EntityFrameworkCore.Internal.IDbSetSource,System.Type)
Attributi

Si applica a