JokerContext JokerContext Class

Definition

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

JokerContext(DbContextOptions) JokerContext(DbContextOptions)

public JokerContext(DbContextOptions options)
Public Sub New(options As DbContextOptions)
Parameters

Properties

People People

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

Methods

OnModelCreating(ModelBuilder) OnModelCreating(ModelBuilder)

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