标签: c# entity-framework
在EF中保存父实体时,子实体是否也保持不变?
我有这样的东西:
Public Class Property { public virtual ICollection<ImageSortOrder> Property_ImageSortOrders { get; set; } }
保存Property时,我也在填充Property_ImageSortOrders。这样还能节省Property_ImageSortOrders吗?
Property
Property_ImageSortOrders