使用OwnsOne映射复杂类型时,sql列名称以属性名称为前缀。是否可以在映射中指定前缀名称?
这是我的映射:
e.OwnsOne(x => x.Attributes, cb => { cb.OwnsOne(a => a.Supplier); });
我希望sql列以“ Attr_”而不是“ Attributes_”作为前缀。这可能吗?