当我处于一个独立的场景并从客户端获取dto时,我将其映射到一个实体以保存它,我这样做:context.Entry(entity).State = EntityState.Modified; context.
確定! 回上一頁