DbContext.IDbSetCache.GetOrAddSet Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
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
- Attributes
Applies to
Entity Framework Core 9.0 and other versions
Product | Versions |
---|---|
Entity Framework Core | 5.0, 6.0, 7.0, 8.0, 9.0 |
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
- Source:
- DbContext.cs
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
- Attributes
Applies to
Entity Framework Core 9.0 and other versions
Product | Versions |
---|---|
Entity Framework Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: