Model first Default Constraints?
-
- Posts: 79
- Joined: Tue 02 Jun 2015 18:22
Model first Default Constraints?
How to create default constraints with model first approach?
Re: Model first Default Constraints?
Select the necessary entity property and open its Properties (right-click the selected property and select Properties from the shortcut menu), find 'Default Value' and set the necessary value.
If it is not what you mean, please describe your scenario more clearly.
If it is not what you mean, please describe your scenario more clearly.
-
- Posts: 79
- Joined: Tue 02 Jun 2015 18:22
Re: Model first Default Constraints?
I did exactly what you stated, that is why I posted this question, when the I generated the database from the model I don't see any default constraints created on the attribute in the table.
-
- Posts: 79
- Joined: Tue 02 Jun 2015 18:22
Re: Model first Default Constraints?
I am mistaken it did create the constraint in the database.OutOfTouch6947 wrote:I did exactly what you stated, that is why I posted this question, when the I generated the database from the model I don't see any default constraints created on the attribute in the table.