KingsportMillSafetyTrainingDbContext Methods

The KingsportMillSafetyTrainingDbContext type exposes the following members.

Methods


  Name Description
Public method AddOrUpdate<(Of <<'(T>)>>)
Adds the or update.
Public method AddQuizResult
Adds the quiz result.
Public method AddTrainingResult
Adds the training result.
Public method Static member Create
Creates this instance.
Public method CreateCategory
Creates the category.
Public method CreateCompany
Creates the company.
Public method CreateGroup
Creates the role.
Public method CreateSlide
Creates the slide.
Public method DeleteCategory
Deletes the category.
Public method DeleteCompany
Deletes the company.
Public method DeleteGroup
Deletes the role.
Public method DeleteSlide
Deletes the slide.
Public method Dispose (Inherited from DbContext.)
Protected method Dispose(System.Boolean) (Inherited from DbContext.)
Protected method DoTransaction(Action)
Does the transaction.
Protected method DoTransaction<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>))
Does the transaction.
Public method Edit(TrainingResult)
Edits the specified training result.
Public method Edit<(Of <<'(T>)>>)(T)
Edits the specified t.
Public method EditSlide
Edits the slide.
Public method EditUser
Edits the user.
Public method Entry(System.Object) (Inherited from DbContext.)
Public method Entry``1(``0) (Inherited from DbContext.)
Public method Equals(System.Object) (Inherited from DbContext.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetCategories
Gets the categories.
Public method GetCategory
Gets the category.
Public method GetCompanies
Gets the companies.
Public method GetCompany
Gets the company.
Public method GetDefaultRole
Gets the default role.
Public method GetGroup(Nullable<(Of <<'(Int32>)>>))
Gets the role.
Public method GetGroup(Func<(Of <<'(Group, Boolean>)>>))
Gets the role.
Public method GetGroups
Gets the groups.
Public method GetHashCode (Inherited from DbContext.)
Private method Static member GetNotFoundMessage<(Of <<'(T>)>>)
Gets the not found message.
Public method GetRole(Func<(Of <<'(Role, Boolean>)>>))
Gets the role.
Public method GetRole(String)
Gets the role.
Public method GetRoles
Gets the roles.
Public method GetSlide
Gets the slide.
Public method GetSlides(Func<(Of <<'(Slide, Object>)>>), Func<(Of <<'(Slide, Boolean>)>>))
Gets the slides.
Public method GetSlides(Int32, Func<(Of <<'(Slide, Object>)>>), Func<(Of <<'(Slide, Boolean>)>>))
Gets the slides.
Public method GetTrainingResult
Gets the training result.
Public method GetTrainingResults
Gets the training results.
Public method GetTrainingResultsDescending(Func<(Of <<'(TrainingResult, Object>)>>), Func<(Of <<'(TrainingResult, Boolean>)>>))
Gets the training results descending.
Public method GetTrainingResultsDescending(String, Func<(Of <<'(TrainingResult, Object>)>>), Func<(Of <<'(TrainingResult, Boolean>)>>))
Gets the training results descending.
Public method GetType (Inherited from DbContext.)
Public method GetUser
Gets the user.
Public method GetUsers
Gets the users.
Public method GetValidationErrors (Inherited from DbContext.)
Public method IsUserTrainingResult
Determines whether [is user training result] [the specified user identifier].
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method OnModelCreating(System.Data.Entity.DbModelBuilder) (Inherited from IdentityDbContext.)
Public method PairCategoryAndGroup(Int32)
Pairs the category and role.
Public method PairCategoryAndGroup(Int32, Int32)
Pairs the category and role.
Public method PairGroupAndCategory(Int32)
Pairs the group and category.
Public method PairGroupAndCategory(Int32, Int32)
Pairs the group and category.
Public method Reorder(IList<(Of <<'(Category>)>>))
Reorders the specified categories.
Public method Reorder(IList<(Of <<'(Slide>)>>))
Reorders the specified slides.
Public method Reorder(IList<(Of <<'(Group>)>>))
Reorders the specified groups.
Public method SaveChanges (Inherited from DbContext.)
Public method SaveChangesAsync (Inherited from DbContext.)
Public method SaveChangesAsync(System.Threading.CancellationToken) (Inherited from DbContext.)
Public method Set(System.Type) (Inherited from DbContext.)
Public method Set``1 (Inherited from DbContext.)
Public method SetUserCompany
Sets the user company.
Public method SetUserGroup
Sets the user role.
Public method SetUserLatestQuizStartDateTime
Sets the user latest quiz start date time.
Public method SetUserLatestTrainingStartDateTime
Sets the user latest training start date time.
Protected method ShouldValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry) (Inherited from DbContext.)
Public method ToString (Inherited from DbContext.)
Public method UnpairCategoriesAndGroups
Unpairs the categories and groups.
Public method UpdateCurrentAnswerIndex
Updates the index of the current answer.
Public method UpdateCurrentCategoryIndex
Updates the index of the current category.
Public method UpdateCurrentGroupIndex
Updates the index of the current role.
Public method UpdateCurrentRoleIndex
Updates the index of the current role.
Public method UpdateUserLastLogon
Protected method ValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry,System.Collections.Generic.IDictionary{System.Object, System.Object}) (Inherited from IdentityDbContext.)