MonsterContext<TCustomer, TBarcode, TIncorrectScan, TBarcodeDetail, TComplaint, TResolution, TLogin, TSuspiciousActivity, TSmartCard, TRsaToken, TPasswordReset, TPageView, TLastLogin, TMessage, TAnOrder, TOrderNote, TOrderQualityCheck, TOrderLine, TProduct, TProductDetail, TProductReview, TProductPhoto, TProductWebFeature, TSupplier, TSupplierLogo, TSupplierInfo, TCustomerInfo, TComputer, TComputerDetail, TDriver, TLicense> MonsterContext(Of TCustomer, TBarcode, TIncorrectScan, TBarcodeDetail, TComplaint, TResolution, TLogin, TSuspiciousActivity, TSmartCard, TRsaToken, TPasswordReset, TPageView, TLastLogin, TMessage, TAnOrder, TOrderNote, TOrderQualityCheck, TOrderLine, TProduct, TProductDetail, TProductReview, TProductPhoto, TProductWebFeature, TSupplier, TSupplierLogo, TSupplierInfo, TCustomerInfo, TComputer, TComputerDetail, TDriver, TLicense) Class

Definition

public class MonsterContext<TCustomer, TBarcode, TIncorrectScan, TBarcodeDetail, TComplaint, TResolution, TLogin, TSuspiciousActivity, TSmartCard, TRsaToken, TPasswordReset, TPageView, TLastLogin, TMessage, TAnOrder, TOrderNote, TOrderQualityCheck, TOrderLine, TProduct, TProductDetail, TProductReview, TProductPhoto, TProductWebFeature, TSupplier, TSupplierLogo, TSupplierInfo, TCustomerInfo, TComputer, TComputerDetail, TDriver, TLicense> : MonsterContext, IDisposable, IInfrastructure<IServiceProvider> where TCustomer : class, ICustomer, new ()where TBarcode : class, IBarcode, new ()where TIncorrectScan : class, IIncorrectScan, new ()where TBarcodeDetail : class, IBarcodeDetail, new ()where TComplaint : class, IComplaint, new ()where TResolution : class, IResolution, new ()where TLogin : class, ILogin, new ()where TSuspiciousActivity : class, ISuspiciousActivity, new ()where TSmartCard : class, ISmartCard, new ()where TRsaToken : class, IRsaToken, new ()where TPasswordReset : class, IPasswordReset, new ()where TPageView : class, IPageView, new ()where TLastLogin : class, ILastLogin, new ()where TMessage : class, IMessage, new ()where TAnOrder : class, IAnOrder, new ()where TOrderNote : class, IOrderNote, new ()where TOrderQualityCheck : class, IOrderQualityCheck, new ()where TOrderLine : class, IOrderLine, new ()where TProduct : class, IProduct, new ()where TProductDetail : class, IProductDetail, new ()where TProductReview : class, IProductReview, new ()where TProductPhoto : class, IProductPhoto, new ()where TProductWebFeature : class, IProductWebFeature, new ()where TSupplier : class, ISupplier, new ()where TSupplierLogo : class, ISupplierLogo, new ()where TSupplierInfo : class, ISupplierInfo, new ()where TCustomerInfo : class, ICustomerInfo, new ()where TComputer : class, IComputer, new ()where TComputerDetail : class, IComputerDetail, new ()where TDriver : class, IDriver, new ()where TLicense : class, ILicense, new ()
Public Class MonsterContext(Of TCustomer As {Class, ICustomer, New}, TBarcode As {Class, IBarcode, New}, TIncorrectScan As {Class, IIncorrectScan, New}, TBarcodeDetail As {Class, IBarcodeDetail, New}, TComplaint As {Class, IComplaint, New}, TResolution As {Class, IResolution, New}, TLogin As {Class, ILogin, New}, TSuspiciousActivity As {Class, ISuspiciousActivity, New}, TSmartCard As {Class, ISmartCard, New}, TRsaToken As {Class, IRsaToken, New}, TPasswordReset As {Class, IPasswordReset, New}, TPageView As {Class, IPageView, New}, TLastLogin As {Class, ILastLogin, New}, TMessage As {Class, IMessage, New}, TAnOrder As {Class, IAnOrder, New}, TOrderNote As {Class, IOrderNote, New}, TOrderQualityCheck As {Class, IOrderQualityCheck, New}, TOrderLine As {Class, IOrderLine, New}, TProduct As {Class, IProduct, New}, TProductDetail As {Class, IProductDetail, New}, TProductReview As {Class, IProductReview, New}, TProductPhoto As {Class, IProductPhoto, New}, TProductWebFeature As {Class, IProductWebFeature, New}, TSupplier As {Class, ISupplier, New}, TSupplierLogo As {Class, ISupplierLogo, New}, TSupplierInfo As {Class, ISupplierInfo, New}, TCustomerInfo As {Class, ICustomerInfo, New}, TComputer As {Class, IComputer, New}, TComputerDetail As {Class, IComputerDetail, New}, TDriver As {Class, IDriver, New}, TLicense As {Class, ILicense, New})
    Inherits MonsterContext
    Implements IDisposable, IInfrastructure(Of IServiceProvider)
Type Parameters
TCustomer
TBarcode
TIncorrectScan
TBarcodeDetail
TComplaint
TResolution
TLogin
TSuspiciousActivity
TSmartCard
TRsaToken
TPasswordReset
TPageView
TLastLogin
TMessage
TAnOrder
TOrderNote
TOrderQualityCheck
TOrderLine
TProduct
TProductDetail
TProductReview
TProductPhoto
TProductWebFeature
TSupplier
TSupplierLogo
TSupplierInfo
TCustomerInfo
TComputer
TComputerDetail
TDriver
TLicense
Inheritance
System.ObjectSystem.Object
MonsterContext<TCustomer, TBarcode, TIncorrectScan, TBarcodeDetail, TComplaint, TResolution, TLogin, TSuspiciousActivity, TSmartCard, TRsaToken, TPasswordReset, TPageView, TLastLogin, TMessage, TAnOrder, TOrderNote, TOrderQualityCheck, TOrderLine, TProduct, TProductDetail, TProductReview, TProductPhoto, TProductWebFeature, TSupplier, TSupplierLogo, TSupplierInfo, TCustomerInfo, TComputer, TComputerDetail, TDriver, TLicense>MonsterContext(Of TCustomer, TBarcode, TIncorrectScan, TBarcodeDetail, TComplaint, TResolution, TLogin, TSuspiciousActivity, TSmartCard, TRsaToken, TPasswordReset, TPageView, TLastLogin, TMessage, TAnOrder, TOrderNote, TOrderQualityCheck, TOrderLine, TProduct, TProductDetail, TProductReview, TProductPhoto, TProductWebFeature, TSupplier, TSupplierLogo, TSupplierInfo, TCustomerInfo, TComputer, TComputerDetail, TDriver, TLicense)
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

MonsterContext(DbContextOptions, Action) MonsterContext(DbContextOptions, Action(Of ModelBuilder))

public MonsterContext(DbContextOptions options, Action<ModelBuilder> onModelCreating)
Public Sub New(options As DbContextOptions, onModelCreating As Action(Of ModelBuilder))
Parameters
onModelCreating
System.Action<ModelBuilder> System.Action(Of ModelBuilder)

Properties

BarcodeDetails BarcodeDetails

public override IQueryable<IBarcodeDetail> BarcodeDetails { get; }
Public Overrides ReadOnly Property BarcodeDetails As IQueryable(Of IBarcodeDetail)
Value
System.Linq.IQueryable<IBarcodeDetail> System.Linq.IQueryable(Of IBarcodeDetail)
Overrides

Barcodes Barcodes

public override IQueryable<IBarcode> Barcodes { get; }
Public Overrides ReadOnly Property Barcodes As IQueryable(Of IBarcode)
Value
System.Linq.IQueryable<IBarcode> System.Linq.IQueryable(Of IBarcode)
Overrides

Complaints Complaints

public override IQueryable<IComplaint> Complaints { get; }
Public Overrides ReadOnly Property Complaints As IQueryable(Of IComplaint)
Value
System.Linq.IQueryable<IComplaint> System.Linq.IQueryable(Of IComplaint)
Overrides

ComputerDetails ComputerDetails

public override IQueryable<IComputerDetail> ComputerDetails { get; }
Public Overrides ReadOnly Property ComputerDetails As IQueryable(Of IComputerDetail)
Value
System.Linq.IQueryable<IComputerDetail> System.Linq.IQueryable(Of IComputerDetail)
Overrides

Computers Computers

public override IQueryable<IComputer> Computers { get; }
Public Overrides ReadOnly Property Computers As IQueryable(Of IComputer)
Value
System.Linq.IQueryable<IComputer> System.Linq.IQueryable(Of IComputer)
Overrides

CustomerInformation CustomerInformation

public override IQueryable<ICustomerInfo> CustomerInformation { get; }
Public Overrides ReadOnly Property CustomerInformation As IQueryable(Of ICustomerInfo)
Value
System.Linq.IQueryable<ICustomerInfo> System.Linq.IQueryable(Of ICustomerInfo)
Overrides

Customers Customers

public override IQueryable<ICustomer> Customers { get; }
Public Overrides ReadOnly Property Customers As IQueryable(Of ICustomer)
Value
System.Linq.IQueryable<ICustomer> System.Linq.IQueryable(Of ICustomer)
Overrides

Drivers Drivers

public override IQueryable<IDriver> Drivers { get; }
Public Overrides ReadOnly Property Drivers As IQueryable(Of IDriver)
Value
System.Linq.IQueryable<IDriver> System.Linq.IQueryable(Of IDriver)
Overrides

IncorrectScans IncorrectScans

public override IQueryable<IIncorrectScan> IncorrectScans { get; }
Public Overrides ReadOnly Property IncorrectScans As IQueryable(Of IIncorrectScan)
Value
System.Linq.IQueryable<IIncorrectScan> System.Linq.IQueryable(Of IIncorrectScan)
Overrides

LastLogins LastLogins

public override IQueryable<ILastLogin> LastLogins { get; }
Public Overrides ReadOnly Property LastLogins As IQueryable(Of ILastLogin)
Value
System.Linq.IQueryable<ILastLogin> System.Linq.IQueryable(Of ILastLogin)
Overrides

Licenses Licenses

public override IQueryable<ILicense> Licenses { get; }
Public Overrides ReadOnly Property Licenses As IQueryable(Of ILicense)
Value
System.Linq.IQueryable<ILicense> System.Linq.IQueryable(Of ILicense)
Overrides

Logins Logins

public override IQueryable<ILogin> Logins { get; }
Public Overrides ReadOnly Property Logins As IQueryable(Of ILogin)
Value
System.Linq.IQueryable<ILogin> System.Linq.IQueryable(Of ILogin)
Overrides

Messages Messages

public override IQueryable<IMessage> Messages { get; }
Public Overrides ReadOnly Property Messages As IQueryable(Of IMessage)
Value
System.Linq.IQueryable<IMessage> System.Linq.IQueryable(Of IMessage)
Overrides

OrderLines OrderLines

public override IQueryable<IOrderLine> OrderLines { get; }
Public Overrides ReadOnly Property OrderLines As IQueryable(Of IOrderLine)
Value
System.Linq.IQueryable<IOrderLine> System.Linq.IQueryable(Of IOrderLine)
Overrides

OrderNotes OrderNotes

public override IQueryable<IOrderNote> OrderNotes { get; }
Public Overrides ReadOnly Property OrderNotes As IQueryable(Of IOrderNote)
Value
System.Linq.IQueryable<IOrderNote> System.Linq.IQueryable(Of IOrderNote)
Overrides

OrderQualityChecks OrderQualityChecks

public override IQueryable<IOrderQualityCheck> OrderQualityChecks { get; }
Public Overrides ReadOnly Property OrderQualityChecks As IQueryable(Of IOrderQualityCheck)
Value
System.Linq.IQueryable<IOrderQualityCheck> System.Linq.IQueryable(Of IOrderQualityCheck)
Overrides

Orders Orders

public override IQueryable<IAnOrder> Orders { get; }
Public Overrides ReadOnly Property Orders As IQueryable(Of IAnOrder)
Value
System.Linq.IQueryable<IAnOrder> System.Linq.IQueryable(Of IAnOrder)
Overrides

PageViews PageViews

public override IQueryable<IPageView> PageViews { get; }
Public Overrides ReadOnly Property PageViews As IQueryable(Of IPageView)
Value
System.Linq.IQueryable<IPageView> System.Linq.IQueryable(Of IPageView)
Overrides

PasswordResets PasswordResets

public override IQueryable<IPasswordReset> PasswordResets { get; }
Public Overrides ReadOnly Property PasswordResets As IQueryable(Of IPasswordReset)
Value
System.Linq.IQueryable<IPasswordReset> System.Linq.IQueryable(Of IPasswordReset)
Overrides

ProductDetails ProductDetails

public override IQueryable<IProductDetail> ProductDetails { get; }
Public Overrides ReadOnly Property ProductDetails As IQueryable(Of IProductDetail)
Value
System.Linq.IQueryable<IProductDetail> System.Linq.IQueryable(Of IProductDetail)
Overrides

ProductPhotos ProductPhotos

public override IQueryable<IProductPhoto> ProductPhotos { get; }
Public Overrides ReadOnly Property ProductPhotos As IQueryable(Of IProductPhoto)
Value
System.Linq.IQueryable<IProductPhoto> System.Linq.IQueryable(Of IProductPhoto)
Overrides

ProductReviews ProductReviews

public override IQueryable<IProductReview> ProductReviews { get; }
Public Overrides ReadOnly Property ProductReviews As IQueryable(Of IProductReview)
Value
System.Linq.IQueryable<IProductReview> System.Linq.IQueryable(Of IProductReview)
Overrides

Products Products

public override IQueryable<IProduct> Products { get; }
Public Overrides ReadOnly Property Products As IQueryable(Of IProduct)
Value
System.Linq.IQueryable<IProduct> System.Linq.IQueryable(Of IProduct)
Overrides

ProductWebFeatures ProductWebFeatures

public override IQueryable<IProductWebFeature> ProductWebFeatures { get; }
Public Overrides ReadOnly Property ProductWebFeatures As IQueryable(Of IProductWebFeature)
Value
System.Linq.IQueryable<IProductWebFeature> System.Linq.IQueryable(Of IProductWebFeature)
Overrides

Resolutions Resolutions

public override IQueryable<IResolution> Resolutions { get; }
Public Overrides ReadOnly Property Resolutions As IQueryable(Of IResolution)
Value
System.Linq.IQueryable<IResolution> System.Linq.IQueryable(Of IResolution)
Overrides

RsaTokens RsaTokens

public override IQueryable<IRsaToken> RsaTokens { get; }
Public Overrides ReadOnly Property RsaTokens As IQueryable(Of IRsaToken)
Value
System.Linq.IQueryable<IRsaToken> System.Linq.IQueryable(Of IRsaToken)
Overrides

SmartCards SmartCards

public override IQueryable<ISmartCard> SmartCards { get; }
Public Overrides ReadOnly Property SmartCards As IQueryable(Of ISmartCard)
Value
System.Linq.IQueryable<ISmartCard> System.Linq.IQueryable(Of ISmartCard)
Overrides

SupplierInformation SupplierInformation

public override IQueryable<ISupplierInfo> SupplierInformation { get; }
Public Overrides ReadOnly Property SupplierInformation As IQueryable(Of ISupplierInfo)
Value
System.Linq.IQueryable<ISupplierInfo> System.Linq.IQueryable(Of ISupplierInfo)
Overrides

SupplierLogos SupplierLogos

public override IQueryable<ISupplierLogo> SupplierLogos { get; }
Public Overrides ReadOnly Property SupplierLogos As IQueryable(Of ISupplierLogo)
Value
System.Linq.IQueryable<ISupplierLogo> System.Linq.IQueryable(Of ISupplierLogo)
Overrides

Suppliers Suppliers

public override IQueryable<ISupplier> Suppliers { get; }
Public Overrides ReadOnly Property Suppliers As IQueryable(Of ISupplier)
Value
System.Linq.IQueryable<ISupplier> System.Linq.IQueryable(Of ISupplier)
Overrides

SuspiciousActivities SuspiciousActivities

public override IQueryable<ISuspiciousActivity> SuspiciousActivities { get; }
Public Overrides ReadOnly Property SuspiciousActivities As IQueryable(Of ISuspiciousActivity)
Value
System.Linq.IQueryable<ISuspiciousActivity> System.Linq.IQueryable(Of ISuspiciousActivity)
Overrides

Methods

OnModelCreating(ModelBuilder) OnModelCreating(ModelBuilder)

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

SeedUsingFKs(Boolean) SeedUsingFKs(Boolean)

public override void SeedUsingFKs(bool saveChanges = true)
Public Overrides Sub SeedUsingFKs(saveChanges As Boolean = True)
Parameters
saveChanges
System.Boolean System.Boolean
Overrides

SeedUsingNavigations(Boolean, Boolean, Boolean) SeedUsingNavigations(Boolean, Boolean, Boolean)

public override void SeedUsingNavigations(bool dependentNavs, bool principalNavs, bool saveChanges = true)
Public Overrides Sub SeedUsingNavigations(dependentNavs As Boolean, principalNavs As Boolean, saveChanges As Boolean = True)
Parameters
dependentNavs
System.Boolean System.Boolean
principalNavs
System.Boolean System.Boolean
saveChanges
System.Boolean System.Boolean
Overrides

SeedUsingNavigationsWithDeferredAdd(Boolean) SeedUsingNavigationsWithDeferredAdd(Boolean)

public override void SeedUsingNavigationsWithDeferredAdd(bool saveChanges = true)
Public Overrides Sub SeedUsingNavigationsWithDeferredAdd(saveChanges As Boolean = True)
Parameters
saveChanges
System.Boolean System.Boolean
Overrides