API

EF Core DbContext

Manages model-based database work and change tracking over a short lifetime.

Formal Syntax & Structure

csharp syntaxcsharp
using var ctx = new Catalog(options);

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.using var ctx = new Catalog(options);
C# & .NET Reference