C# Class ProjectDetail.Persistence.Contexts.ProjectContext

DbContext configuration for Project entity.
Inheritance: DbContext
Afficher le fichier Open project: patrikduch/netcore-microservices

Méthodes publiques

Méthode Description
ProjectContext ( DbContextOptions options ) : Microsoft.EntityFrameworkCore

Initializes a new instance of the ProjectContext.

SaveChangesAsync ( CancellationToken cancellationToken = default ) : Task

Custom implementation of save functionality for OrderContext.

Method Details

ProjectContext() public méthode

Initializes a new instance of the ProjectContext.
public ProjectContext ( DbContextOptions options ) : Microsoft.EntityFrameworkCore
options DbContextOptions EFCore context setup.
Résultat Microsoft.EntityFrameworkCore

SaveChangesAsync() public méthode

Custom implementation of save functionality for OrderContext.
public SaveChangesAsync ( CancellationToken cancellationToken = default ) : Task
cancellationToken CancellationToken Cancelation object.
Résultat Task