摘要:
某些情况下,出于性能考虑,我们需要外键的id值,但不想使用join子句把引用类型都读进来。 class Book { public int Id { get; set; } public string Name { get; set; } public string Author { get; se 阅读全文
摘要:
class Person { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } public DateTime Birthday { get; set; } public 阅读全文
摘要:
class Bird { public int Number { get; set; } public string Name { get; set; } public int Age { get; set; } } class BirdConfig : IEntityTypeConfigurati 阅读全文