上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 402 下一页
摘要: 德经·第七十七章 天之道,损有余而补不足。人之道,则不然,损不足以奉有余。 https://zhuanlan.zhihu.com/p/26440349 天道与人道,这是一个古老而常新的哲学命题,在中国,最早提出这个与“人道”相对的“天道”的作用和功能的命题的,是中国的老子。《老子 七十七章》:“天之 阅读全文
posted @ 2022-08-29 01:23 ChuckLu 阅读(202) 评论(0) 推荐(0)
摘要: EFCore join table and AutoMapper Question I want to query all users from my ASP.net Identity Users table and map them to a simple DTO like this: publi 阅读全文
posted @ 2022-08-28 14:12 ChuckLu 阅读(124) 评论(0) 推荐(0)
摘要: EF join 两张表: var query = db.Categories // 第一张表 .Join(db.CategoryMaps, // 第二张表 c => c.CategoryId, // 主键 cm => cm.ChildCategoryId, // 外键 (c, cm) => new 阅读全文
posted @ 2022-08-26 15:35 ChuckLu 阅读(101) 评论(0) 推荐(0)
摘要: What difference does .AsNoTracking() make? 问题 I have a question regarding the .AsNoTracking() extension, as this is all quite new and quite confusing. 阅读全文
posted @ 2022-08-25 14:32 ChuckLu 阅读(76) 评论(0) 推荐(0)
摘要: Is automapper preventing lazy loading with EF? 问题 I have been using an AutoMapper and it seems that it gets me all the child entities (even if I don't 阅读全文
posted @ 2022-08-25 09:58 ChuckLu 阅读(123) 评论(0) 推荐(0)
摘要: Prevent properties being loaded unless specifically requested 回答1 The problem source This isn't an EF behavior, it's an Automapper behavior. public IQ 阅读全文
posted @ 2022-08-24 13:10 ChuckLu 阅读(42) 评论(0) 推荐(0)
摘要: Evaluate: lim x → 0 [1/x^2 - 1/sin^2x] L = lim x → 0 [1/x2 - 1/sin2x]. [∞ – ∞] formRead more on Sarthaks.com - https://www.sarthaks.com/354486/evaluat 阅读全文
posted @ 2022-08-23 14:46 ChuckLu 阅读(147) 评论(0) 推荐(0)
摘要: EFCore Map 2 entities to same table 问题 I'm trying to use DDD with EFCore and I am struggling to find a way to map 2 POCOs from different context that 阅读全文
posted @ 2022-08-23 13:45 ChuckLu 阅读(105) 评论(0) 推荐(0)
摘要: Explicit expansion In some scenarios, such as OData, a generic DTO is returned through an IQueryable controller action. Without explicit instructions, 阅读全文
posted @ 2022-08-23 12:18 ChuckLu 阅读(96) 评论(0) 推荐(0)
摘要: When to use Include in EF? Not needed in projection? I have the following in Entity Framework Core: public class Book { public Int32 Id { get; set; } 阅读全文
posted @ 2022-08-22 18:12 ChuckLu 阅读(77) 评论(0) 推荐(0)
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 402 下一页