API
DbContext lifetime
Bound the context to one unit of work; it is not thread safe.
Formal Syntax & Structure
csharp syntaxcsharp
using var db = new Catalog(options);Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.using var db = new Catalog(options);