dotnetcore / dotnetcore/FreeSql
实体上的索引如何增加约束
Open
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 910
- PR merge metrics
- No merged PRs in 30d
Description
比如[Index("uk_base_class_ClassNo", "Tjnd,SchoolId,ClassNo", true)]有没有办法增加is_deleted = false的约束
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or entry point is named in the issue. Start by tracing the Index attribute and schema/index generation, then check how conditional unique indexes are represented across supported databases; done means the requested is_deleted = false uniqueness behavior is documented or supported with coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100