DatabaseErrorLogStateTest.BloggingContext DatabaseErrorLogStateTest.BloggingContext Class

Definition

public class BloggingContext : DbContext, IDisposable, IInfrastructure<IServiceProvider>
Public Class BloggingContext
    Inherits DbContext
    Implements IDisposable, IInfrastructure(Of IServiceProvider)
Inheritance
System.ObjectSystem.Object
DatabaseErrorLogStateTest.BloggingContextDatabaseErrorLogStateTest.BloggingContext
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

BloggingContext(IServiceProvider) BloggingContext(IServiceProvider)

public BloggingContext(IServiceProvider serviceProvider)
Public Sub New(serviceProvider As IServiceProvider)
Parameters
serviceProvider
System.IServiceProvider System.IServiceProvider

Properties

Blogs Blogs

public DbSet<DatabaseErrorLogStateTest.BloggingContext.Blog> Blogs { get; set; }
Public Property Blogs As DbSet(Of DatabaseErrorLogStateTest.BloggingContext.Blog)

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