GoTContext GoTContext Class

Syntax

Declaration

public class GoTContext : DbContext, IDisposable, IInfrastructure<IServiceProvider>Public Class GoTContext
    Inherits DbContext
    Implements IDisposable, IInfrastructure(Of IServiceProvider)

Inheritance Hierarchy

Inherited Members

IInfrastructure<IServiceProvider>.Instance,
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.Instance,
OnConfiguring(DbContextOptionsBuilder),
OnConfiguring(DbContextOptionsBuilder),
SaveChanges(),
SaveChanges(),
SaveChanges(Boolean),
SaveChanges(Boolean),
SaveChangesAsync(CancellationToken),
SaveChangesAsync(CancellationToken),
SaveChangesAsync(Boolean, CancellationToken),
SaveChangesAsync(Boolean, CancellationToken),
Dispose(),
Dispose(),
Entry<TEntity>(TEntity),
Entry(Of TEntity)(TEntity),
Entry(Object),
Entry(Object),
Add<TEntity>(TEntity),
Add(Of TEntity)(TEntity),
AddAsync<TEntity>(TEntity, CancellationToken),
AddAsync(Of TEntity)(TEntity, CancellationToken),
Attach<TEntity>(TEntity),
Attach(Of TEntity)(TEntity),
Update<TEntity>(TEntity),
Update(Of TEntity)(TEntity),
Remove<TEntity>(TEntity),
Remove(Of TEntity)(TEntity),
Add(Object),
Add(Object),
AddAsync(Object, CancellationToken),
AddAsync(Object, CancellationToken),
Attach(Object),
Attach(Object),
Update(Object),
Update(Object),
Remove(Object),
Remove(Object),
AddRange(Object[]),
AddRange(Object()),
AddRangeAsync(Object[]),
AddRangeAsync(Object()),
AttachRange(Object[]),
AttachRange(Object()),
UpdateRange(Object[]),
UpdateRange(Object()),
RemoveRange(Object[]),
RemoveRange(Object()),
AddRange(IEnumerable<Object>),
AddRange(IEnumerable(Of Object)),
AddRangeAsync(IEnumerable<Object>, CancellationToken),
AddRangeAsync(IEnumerable(Of Object), CancellationToken),
AttachRange(IEnumerable<Object>),
AttachRange(IEnumerable(Of Object)),
UpdateRange(IEnumerable<Object>),
UpdateRange(IEnumerable(Of Object)),
RemoveRange(IEnumerable<Object>),
RemoveRange(IEnumerable(Of Object)),
Database,
Database,
ChangeTracker,
ChangeTracker,
Model,
Model,
Set<TEntity>(),
Set(Of TEntity)(),
Find(Type, Object[]),
Find(Type, Object()),
FindAsync(Type, Object[]),
FindAsync(Type, Object()),
FindAsync(Type, Object[], CancellationToken),
FindAsync(Type, Object(), CancellationToken),
Find<TEntity>(Object[]),
Find(Of TEntity)(Object()),
FindAsync<TEntity>(Object[]),
FindAsync(Of TEntity)(Object()),
FindAsync<TEntity>(Object[], CancellationToken),
FindAsync(Of TEntity)(Object(), CancellationToken),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Properties summary

Methods summary

Constructors

  • GoTContext(DbContextOptions)
    GoTContext(DbContextOptions)
    public GoTContext(DbContextOptions options)Public Sub New(options As DbContextOptions)

    Parameters

Properties

  • ConfigAction
    ConfigAction
    public Func<ModelBuilder, int> ConfigAction { get; set; }Public Property ConfigAction As Func(Of ModelBuilder, Integer)

    Property Value

  • People
    People
    public DbSet<Person> People { get; set; }Public Property People As DbSet(Of Person)

    Property Value

Methods

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

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.dll