We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
要怎么处理?
// c# code public class PersonEntity { [Column(IsPrimary = true, IsIdentity = true)] public int Id { get; set; } [Column(Position = 4)] public int Age { get; set; } = Random.Shared.Next(1, 36); [Column(Position = 3)] public Gender Gender { get; set; } [Column(Position = 2)] public string Name { get; set; } [Navigate(nameof(Id))] public OrderEntity Order { get; set; } } public class OrderEntity { [Column(IsPrimary = true, IsIdentity = true)] public int Id { get; set; } public string Number { get; set; } [Navigate(nameof(Id))] public PersonEntity Person { get; set; } [Navigate(nameof(Id))] public SummaryEntity Summary { get; set; } [Navigate(nameof(PartEntity.OrderId))] public List<PartEntity> Parts { get; set; } public string Notes { get; set; } }
The text was updated successfully, but these errors were encountered:
一对一,怎么会两边同时自增。
Sorry, something went wrong.
No branches or pull requests
要怎么处理?
问题描述及重现代码:
数据库版本
安装的Nuget包
.net framework/. net core? 及具体版本
The text was updated successfully, but these errors were encountered: