CompiledQueryCacheKeyGeneratorTest.QueryKeyCacheContext CompiledQueryCacheKeyGeneratorTest.QueryKeyCacheContext Class

Definition

public class QueryKeyCacheContext : DbContext, IDisposable, IInfrastructure<IServiceProvider>
Public Class QueryKeyCacheContext
    Inherits DbContext
    Implements IDisposable, IInfrastructure(Of IServiceProvider)
Inheritance
System.ObjectSystem.Object
CompiledQueryCacheKeyGeneratorTest.QueryKeyCacheContextCompiledQueryCacheKeyGeneratorTest.QueryKeyCacheContext
Implements
System.IDisposableSystem.IDisposable IInfrastructure<System.IServiceProvider>IInfrastructure(Of System.IServiceProvider)

Inherited Members

Microsoft.EntityFrameworkCore.DbContext

SaveChanges(System.Boolean)SaveChanges(System.Boolean)
SaveChangesAsync(System.Threading.CancellationToken)SaveChangesAsync(System.Threading.CancellationToken)
SaveChangesAsync(System.Boolean, System.Threading.CancellationToken)SaveChangesAsync(System.Boolean, System.Threading.CancellationToken)
Entry(System.Object)Entry(System.Object)
Add<TEntity>(TEntity)Add(Of TEntity)(TEntity)
AddAsync<TEntity>(TEntity, System.Threading.CancellationToken)AddAsync(Of TEntity)(TEntity, System.Threading.CancellationToken)
Add(System.Object)Add(System.Object)
AddAsync(System.Object, System.Threading.CancellationToken)AddAsync(System.Object, System.Threading.CancellationToken)
Attach(System.Object)Attach(System.Object)
Update(System.Object)Update(System.Object)
Remove(System.Object)Remove(System.Object)
AddRange(System.Object[])AddRange(System.Object())
AddRangeAsync(System.Object[])AddRangeAsync(System.Object())
AttachRange(System.Object[])AttachRange(System.Object())
UpdateRange(System.Object[])UpdateRange(System.Object())
RemoveRange(System.Object[])RemoveRange(System.Object())
AddRange(System.Collections.Generic.IEnumerable<System.Object>)AddRange(System.Collections.Generic.IEnumerable(Of System.Object))
AddRangeAsync(System.Collections.Generic.IEnumerable<System.Object>, System.Threading.CancellationToken)AddRangeAsync(System.Collections.Generic.IEnumerable(Of System.Object), System.Threading.CancellationToken)
AttachRange(System.Collections.Generic.IEnumerable<System.Object>)AttachRange(System.Collections.Generic.IEnumerable(Of System.Object))
UpdateRange(System.Collections.Generic.IEnumerable<System.Object>)UpdateRange(System.Collections.Generic.IEnumerable(Of System.Object))
RemoveRange(System.Collections.Generic.IEnumerable<System.Object>)RemoveRange(System.Collections.Generic.IEnumerable(Of System.Object))
Find(System.Type, System.Object[])Find(System.Type, System.Object())
FindAsync(System.Type, System.Object[])FindAsync(System.Type, System.Object())
FindAsync(System.Type, System.Object[], System.Threading.CancellationToken)FindAsync(System.Type, System.Object(), System.Threading.CancellationToken)
Find<TEntity>(System.Object[])Find(Of TEntity)(System.Object())
FindAsync<TEntity>(System.Object[])FindAsync(Of TEntity)(System.Object())
FindAsync<TEntity>(System.Object[], System.Threading.CancellationToken)FindAsync(Of TEntity)(System.Object(), System.Threading.CancellationToken)

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

QueryKeyCacheContext(Boolean, DbConnection) QueryKeyCacheContext(Boolean, DbConnection)

public QueryKeyCacheContext(bool rowNumberPaging, DbConnection connection)
Public Sub New(rowNumberPaging As Boolean, connection As DbConnection)
Parameters
rowNumberPaging
System.Boolean System.Boolean
connection
System.Data.Common.DbConnection System.Data.Common.DbConnection

Methods

OnConfiguring(DbContextOptionsBuilder) OnConfiguring(DbContextOptionsBuilder)

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
Protected Overrides Sub OnConfiguring(optionsBuilder As DbContextOptionsBuilder)
Parameters
Overrides

OnModelCreating(ModelBuilder) OnModelCreating(ModelBuilder)

protected override void OnModelCreating(ModelBuilder modelBuilder)
Protected Overrides Sub OnModelCreating(modelBuilder As ModelBuilder)
Parameters
modelBuilder
ModelBuilder ModelBuilder
Overrides