标签: c# entity-framework
我想:
HasMany(d => d.Categories) .WithRequired() .HasForeignKey(c => c.RelatedEntityId) .WillCascadeOnDelete(true);
这段代码意味着d have required at least one category?
d have required at least one category