InternalDbSet<TEntity> InternalDbSet(Of TEntity) Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class InternalDbSet<TEntity> : DbSet<TEntity>, IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable, IAsyncEnumerableAccessor<TEntity>, IInfrastructure<IServiceProvider> where TEntity : classPublic Class InternalDbSet(Of TEntity As Class)
    Inherits DbSet(Of TEntity)
    Implements IQueryable(Of TEntity), IEnumerable(Of TEntity), IQueryable, IEnumerable, IAsyncEnumerableAccessor(Of TEntity), IInfrastructure(Of IServiceProvider)

Type Parameters

TEntity

Inheritance Hierarchy

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Explicit Interface Implementations summary

Constructors

  • InternalDbSet(DbContext)
    InternalDbSet(DbContext)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public InternalDbSet(DbContext context)Public Sub New(context As DbContext)

    Parameters

Properties

  • Local
    Local

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override LocalView<TEntity> Local { get; }Public Overrides ReadOnly Property Local As LocalView(Of TEntity)

    Property Value

Methods

  • Add(TEntity)
    Add(TEntity)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override EntityEntry<TEntity> Add(TEntity entity)Public Overrides Function Add(entity As TEntity) As EntityEntry(Of TEntity)

    Parameters

    • entity
      TEntity
      TEntity

    Returns

  • AddAsync(TEntity, CancellationToken)
    AddAsync(TEntity, CancellationToken)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override Task<EntityEntry<TEntity>> AddAsync(TEntity entity, CancellationToken cancellationToken = null)Public Overrides Function AddAsync(entity As TEntity, cancellationToken As CancellationToken = Nothing) As Task(Of EntityEntry(Of TEntity))

    Parameters

    • entity
      TEntity
      TEntity
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

  • AddRange(TEntity[])
    AddRange(TEntity())

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override void AddRange(params TEntity[] entities)Public Overrides Sub AddRange(ParamArray entities As TEntity())

    Parameters

    • entities
      TEntity[]
      TEntity()
  • AddRange(IEnumerable<TEntity>)
    AddRange(IEnumerable(Of TEntity))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override void AddRange(IEnumerable<TEntity> entities)Public Overrides Sub AddRange(entities As IEnumerable(Of TEntity))

    Parameters

    • entities
      System.Collections.Generic.IEnumerable<T><TEntity>
      System.Collections.Generic.IEnumerable<T>(Of TEntity)
  • AddRangeAsync(TEntity[])
    AddRangeAsync(TEntity())

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override Task AddRangeAsync(params TEntity[] entities)Public Overrides Function AddRangeAsync(ParamArray entities As TEntity()) As Task

    Parameters

    • entities
      TEntity[]
      TEntity()

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • AddRangeAsync(IEnumerable<TEntity>, CancellationToken)
    AddRangeAsync(IEnumerable(Of TEntity), CancellationToken)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override Task AddRangeAsync(IEnumerable<TEntity> entities, CancellationToken cancellationToken = null)Public Overrides Function AddRangeAsync(entities As IEnumerable(Of TEntity), cancellationToken As CancellationToken = Nothing) As Task

    Parameters

    • entities
      System.Collections.Generic.IEnumerable<T><TEntity>
      System.Collections.Generic.IEnumerable<T>(Of TEntity)
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task
      System.Threading.Tasks.Task
  • Attach(TEntity)
    Attach(TEntity)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override EntityEntry<TEntity> Attach(TEntity entity)Public Overrides Function Attach(entity As TEntity) As EntityEntry(Of TEntity)

    Parameters

    • entity
      TEntity
      TEntity

    Returns

  • AttachRange(TEntity[])
    AttachRange(TEntity())

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override void AttachRange(params TEntity[] entities)Public Overrides Sub AttachRange(ParamArray entities As TEntity())

    Parameters

    • entities
      TEntity[]
      TEntity()
  • AttachRange(IEnumerable<TEntity>)
    AttachRange(IEnumerable(Of TEntity))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override void AttachRange(IEnumerable<TEntity> entities)Public Overrides Sub AttachRange(entities As IEnumerable(Of TEntity))

    Parameters

    • entities
      System.Collections.Generic.IEnumerable<T><TEntity>
      System.Collections.Generic.IEnumerable<T>(Of TEntity)
  • Find(Object[])
    Find(Object())

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override TEntity Find(params object[] keyValues)Public Overrides Function Find(ParamArray keyValues As Object()) As TEntity

    Parameters

    • keyValues
      System.Object[]
      System.Object()

    Returns

    • TEntity
      TEntity
  • FindAsync(Object[])
    FindAsync(Object())

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override Task<TEntity> FindAsync(params object[] keyValues)Public Overrides Function FindAsync(ParamArray keyValues As Object()) As Task(Of TEntity)

    Parameters

    • keyValues
      System.Object[]
      System.Object()

    Returns

    • System.Threading.Tasks.Task<TResult><TEntity>
      System.Threading.Tasks.Task<TResult>(Of TEntity)
  • FindAsync(Object[], CancellationToken)
    FindAsync(Object(), CancellationToken)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override Task<TEntity> FindAsync(object[] keyValues, CancellationToken cancellationToken)Public Overrides Function FindAsync(keyValues As Object(), cancellationToken As CancellationToken) As Task(Of TEntity)

    Parameters

    • keyValues
      System.Object[]
      System.Object()
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

    • System.Threading.Tasks.Task<TResult><TEntity>
      System.Threading.Tasks.Task<TResult>(Of TEntity)
  • Remove(TEntity)
    Remove(TEntity)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override EntityEntry<TEntity> Remove(TEntity entity)Public Overrides Function Remove(entity As TEntity) As EntityEntry(Of TEntity)

    Parameters

    • entity
      TEntity
      TEntity

    Returns

  • RemoveRange(TEntity[])
    RemoveRange(TEntity())

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override void RemoveRange(params TEntity[] entities)Public Overrides Sub RemoveRange(ParamArray entities As TEntity())

    Parameters

    • entities
      TEntity[]
      TEntity()
  • RemoveRange(IEnumerable<TEntity>)
    RemoveRange(IEnumerable(Of TEntity))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override void RemoveRange(IEnumerable<TEntity> entities)Public Overrides Sub RemoveRange(entities As IEnumerable(Of TEntity))

    Parameters

    • entities
      System.Collections.Generic.IEnumerable<T><TEntity>
      System.Collections.Generic.IEnumerable<T>(Of TEntity)
  • Update(TEntity)
    Update(TEntity)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override EntityEntry<TEntity> Update(TEntity entity)Public Overrides Function Update(entity As TEntity) As EntityEntry(Of TEntity)

    Parameters

    • entity
      TEntity
      TEntity

    Returns

  • UpdateRange(TEntity[])
    UpdateRange(TEntity())

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override void UpdateRange(params TEntity[] entities)Public Overrides Sub UpdateRange(ParamArray entities As TEntity())

    Parameters

    • entities
      TEntity[]
      TEntity()
  • UpdateRange(IEnumerable<TEntity>)
    UpdateRange(IEnumerable(Of TEntity))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override void UpdateRange(IEnumerable<TEntity> entities)Public Overrides Sub UpdateRange(entities As IEnumerable(Of TEntity))

    Parameters

    • entities
      System.Collections.Generic.IEnumerable<T><TEntity>
      System.Collections.Generic.IEnumerable<T>(Of TEntity)

Explicit Interface Implementations

  • IInfrastructure<IServiceProvider>.Instance
    Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.Instance
    IServiceProvider IInfrastructure<IServiceProvider>.Instance { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.Instance As IServiceProvider Implements IInfrastructure(Of IServiceProvider).Instance

    Returns

    • System.IServiceProvider
      System.IServiceProvider
  • IAsyncEnumerableAccessor<TEntity>.AsyncEnumerable
    Microsoft.EntityFrameworkCore.Query.Internal.IAsyncEnumerableAccessor<TEntity>.AsyncEnumerable
    IAsyncEnumerable<TEntity> IAsyncEnumerableAccessor<TEntity>.AsyncEnumerable { get; }ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Query.Internal.IAsyncEnumerableAccessor<TEntity>.AsyncEnumerable As IAsyncEnumerable(Of TEntity) Implements IAsyncEnumerableAccessor(Of TEntity).AsyncEnumerable

    Returns

    • IAsyncEnumerable<><TEntity>
      IAsyncEnumerable<>(Of TEntity)
  • IEnumerable<TEntity>.GetEnumerator()
    System.Collections.Generic.IEnumerable<TEntity>.GetEnumerator()
    IEnumerator<TEntity> IEnumerable<TEntity>.GetEnumerator()Function System.Collections.Generic.IEnumerable<TEntity>.GetEnumerator As IEnumerator(Of TEntity) Implements IEnumerable(Of TEntity).GetEnumerator

    Returns

    • System.Collections.Generic.IEnumerator<T><TEntity>
      System.Collections.Generic.IEnumerator<T>(Of TEntity)
  • IEnumerable.GetEnumerator()
    System.Collections.IEnumerable.GetEnumerator()
    IEnumerator IEnumerable.GetEnumerator()Function System.Collections.IEnumerable.GetEnumerator As IEnumerator Implements IEnumerable.GetEnumerator

    Returns

    • System.Collections.IEnumerator
      System.Collections.IEnumerator
  • IQueryable.ElementType
    System.Linq.IQueryable.ElementType
    Type IQueryable.ElementType { get; }ReadOnly WriteOnly Property System.Linq.IQueryable.ElementType As Type Implements IQueryable.ElementType

    Returns

    • System.Type
      System.Type
  • IQueryable.Expression
    System.Linq.IQueryable.Expression
    Expression IQueryable.Expression { get; }ReadOnly WriteOnly Property System.Linq.IQueryable.Expression As Expression Implements IQueryable.Expression

    Returns

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression
  • IQueryable.Provider
    System.Linq.IQueryable.Provider
    IQueryProvider IQueryable.Provider { get; }ReadOnly WriteOnly Property System.Linq.IQueryable.Provider As IQueryProvider Implements IQueryable.Provider

    Returns

    • System.Linq.IQueryProvider
      System.Linq.IQueryProvider

Details

Assembly

Microsoft.EntityFrameworkCore.dll