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
class AddUniquesInfo { public Guid id { get; set; } [Column(Unique = "uk_phone")] public string phone { get; set; } [Column(Unique = "uk_group_index")] public string group { get; set; } [Column(Unique = "uk_group_index")] public int index { get; set; } [Column(Unique = "uk_group_index222")] public string index22 { get; set; } }
Unique 指定相同的标识,代表联合唯一键;
The text was updated successfully, but these errors were encountered:
增加 Column.Unique 唯一键 #42
45b785f
更多资料:https://github.com/2881099/FreeSql/wiki/CodeFirst
Sorry, something went wrong.
- 补充 MapType,Column.MapType 类型映射,可将 enum 映射为 int/string 等 #19 #42;
aeee8cc
- 优化 PostgreSQL jsonb 类型使用习惯;
方式已改,详细见文档
No branches or pull requests
Unique 指定相同的标识,代表联合唯一键;
The text was updated successfully, but these errors were encountered: