Skip to content
New issue

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

#30 移除ValueGeneratedOnAdd() #31

Merged
merged 3 commits into from
Jan 2, 2025
Merged

#30 移除ValueGeneratedOnAdd() #31

merged 3 commits into from
Jan 2, 2025

Conversation

z1qian
Copy link
Contributor

@z1qian z1qian commented Jan 2, 2025

sqlserver会报错:不能为表 'order' 中的标识列插入显式值

@z1qian z1qian changed the title 移除ValueGeneratedOnAdd() #30 移除ValueGeneratedOnAdd() Jan 2, 2025
@z1qian
Copy link
Contributor Author

z1qian commented Jan 2, 2025

#30

@witskeeper
Copy link
Member

builder.Property(t => t.Id).ValueGeneratedOnAdd().UseSnowFlakeValueGenerator();
这个文件也需要修改

@z1qian
Copy link
Contributor Author

z1qian commented Jan 2, 2025

builder.Property(t => t.Id).ValueGeneratedOnAdd().UseSnowFlakeValueGenerator();

这个文件也需要修改

好了

@z1qian
Copy link
Contributor Author

z1qian commented Jan 2, 2025

#29 只扫描domain程序集

Copy link
Member

@witskeeper witskeeper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢提交PR

@witskeeper witskeeper merged commit d19ca88 into netcorepal:main Jan 2, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants