EF Core Fluent API statement as Data Annotation

前端 未结 0 693
鱼传尺愫
鱼传尺愫 2021-01-25 17:25

Can I write this with data annotations in EF Core?

modelBuilder.Entity()
                .HasOne(c => c.Compressor)
                .Wi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题