IConventionStoredProcedureParameterBuilder.CanSetName(String, Boolean) Method
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.
Returns a value indicating whether the given parameter name can be set.
public bool CanSetName (string? name, bool fromDataAnnotation = false);
abstract member CanSetName : string * bool -> bool
Public Function CanSetName (name As String, Optional fromDataAnnotation As Boolean = false) As Boolean
- name
- String
The name of the parameter.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
true
if the given parameter name can be set.
See Modeling entity types and relationships for more information and examples.
Product | Versions |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: