DbContext.IDbSetCache.GetOrAddSet Method

Definition

Overloads

IDbSetCache.GetOrAddSet(IDbSetSource, String, Type)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

IDbSetCache.GetOrAddSet(IDbSetSource, Type)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

IDbSetCache.GetOrAddSet(IDbSetSource, String, Type)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

[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

Parameters

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

Returns

Implements

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

Applies to

IDbSetCache.GetOrAddSet(IDbSetSource, Type)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

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

Parameters

source
Microsoft.EntityFrameworkCore.Internal.IDbSetSource
type
Type

Returns

Implements

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

Applies to