技术栈

c#/csharp

ChaITSimpleLove
9 个月前
.net core·ef core·转换器·c#/csharp·code first·valueconverter
如何使用 ef core 的 code first(fluent api)模式实现自定义类型转换器?在使用 Entity Framework Core (EF Core) 的 Code First 模式时,如果你想在 SQLite 数据库中存储 JsonDocument or DateTime 类型的数据,需要确保数据类型的正确映射。