C# Class ProjectDetail.Persistence.Contexts.ProjectContext

DbContext configuration for Project entity.
Inheritance: DbContext
Exibir arquivo Open project: patrikduch/netcore-microservices

Public Methods

Method 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 method

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

SaveChangesAsync() public method

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