Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
(我是 linqpad 的新手)。当仅使用“转储”扩展来显示对象图时,如果我的对象具有具有数字属性的集合,例如具有数字 Id 的书籍集合,则该集合中所有书籍的 Book.Id 都会总计。有没有办法禁用这种默认行为?
LINQPad 不会在它知道是主键的列上显示总计,否则它无法知道该信息可能没有用处。
如果您的书表在 ID 上没有主键,另一个问题是您将无法通过 LINQ 更新它。