Definition
Assembly: Microsoft.EntityFrameworkCore.dll Namespace: Microsoft.EntityFrameworkCoreSyntax
Summary
This type is defined in Microsoft.EntityFrameworkCore.Remarks
See Microsoft documentation for more information about the rest of the API.Methods
AddMcpTasksTable Extension
Extension method from
Microsoft.EntityFrameworkCore.McpEssentials_EntityFrameworkCore_ModelBuilderExtensionsMcpTasks. Call from the host
OnModelCreating.
Syntax
Parameters
Returns
Type:Microsoft.EntityFrameworkCore.ModelBuilder
The same modelBuilder.
Exceptions
Remarks
Use this when the project that owns the DbContext already references this package. Mapping lives with the rest of the model. UseDbContextOptionsBuilder.AddMcpTasksTable from AddDbContext when the context
type lives in a library that must not reference this package. Pick one.
AddMcpTasksTable Extension
Extension method from
Microsoft.EntityFrameworkCore.McpEssentials_EntityFrameworkCore_ModelBuilderExtensionsOnModelCreating.
Syntax
Parameters
Returns
Type:Microsoft.EntityFrameworkCore.ModelBuilder
The same modelBuilder.
Exceptions
Remarks
Use this when the project that owns the DbContext already references this package. Mapping lives with the rest of the model. UseDbContextOptionsBuilder.AddMcpTasksTable from AddDbContext when the context
type lives in a library that must not reference this package. Pick one.