Update method (which is new in EF Core); using the DbContext.Attach method and then ... You can set the EntityState of an entity via the EntityEntry.
確定! 回上一頁