@@ -95,7 +95,13 @@ public class IRaCISDBContext : DbContext
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
modelBuilder.Entity<EmailLog>(entity =>
|
||||
{
|
||||
entity.OwnsMany(x => x.Attachments, ownedNavigationBuilder =>
|
||||
{
|
||||
ownedNavigationBuilder.ToJson();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
#region pgsql codefirst 配置 暂时屏蔽
|
||||
|
||||
Reference in New Issue
Block a user