Is it possible to add CHECK constraint with fluent API in Entity Framework 7?
I need to acheive something like this:
...
ADD CONSTRAINT CK_SomeTable_SomeColumn CHECK (SomeColumn >= X);
It is ok if solution is provider-specific - I am targeting MsSqlServer only (at least now).
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…