-
Notifications
You must be signed in to change notification settings - Fork 21
Adding custom IRelationalTypeMappingSourcePlugin
Pawel Gerr edited this page Feb 9, 2026
·
2 revisions
Use the extension method AddRelationalTypeMappingSourcePlugin<T> to add a custom implementation of IRelationalTypeMappingSourcePlugin.
services
.AddDbContext<DemoDbContext>(builder => builder
//.UseSqlite("...")
.UseSqlServer("...")
//.UseNpgsql("...")
.AddRelationalTypeMappingSourcePlugin<MyPlugin>()