开发者

Entity Framework. How to add object to collection in Unchanged state

开发者 https://www.devze.com 2023-01-13 04:41 出处:网络
How to add object to a collection so that after .SaveChanges() it hasn\'t inser开发者_如何学JAVAted/updated?Use Attach instead of Add.

How to add object to a collection so that after .SaveChanges() it hasn't inser开发者_如何学JAVAted/updated?


Use Attach instead of Add.

0

精彩评论

暂无评论...
验证码 换一张
取 消