SqlServerPropertyAnnotations.CanSetDefaultValueSql(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks whether or not it is valid to set a default SQL expression for the property.
protected override bool CanSetDefaultValueSql (string value);
override this.CanSetDefaultValueSql : string -> bool
Protected Overrides Function CanSetDefaultValueSql (value As String) As Boolean
Parameters
- value
- String
The expression to check.
Returns
True
if it is valid to set this expression; false
otherwise.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework