RelationalPropertyBuilderExtensions.CanSetColumnOrder 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.
Gets a value indicating whether the given column order can be set for the property.
public static bool CanSetColumnOrder (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, int? order, bool fromDataAnnotation = false);
static member CanSetColumnOrder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Nullable<int> * bool -> bool
<Extension()>
Public Function CanSetColumnOrder (propertyBuilder As IConventionPropertyBuilder, order As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Boolean
Parameters
- propertyBuilder
- IConventionPropertyBuilder
The builder of the property being configured.
- fromDataAnnotation
- Boolean
A value indicating whether the configuration was specified using a data annotation.
Returns
true
if the column order can be set for the property.
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