RelationalPropertyExtensions.IsFixedLength 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.
IsFixedLength(IReadOnlyProperty, StoreObjectIdentifier) |
Returns a flag indicating whether the property is capable of storing only fixed-length data, such as strings. |
IsFixedLength(IProperty, StoreObjectIdentifier) |
Returns a flag indicating if the property as capable of storing only fixed-length data, such as strings. |
IsFixedLength(IProperty) |
Returns a flag indicating if the property as capable of storing only fixed-length data, such as strings. |
IsFixedLength(IReadOnlyProperty) |
Returns a flag indicating whether the property is capable of storing only fixed-length data, such as strings. |
Returns a flag indicating whether the property is capable of storing only fixed-length data, such as strings.
public static bool? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<bool>
<Extension()>
Public Function IsFixedLength (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Boolean)
Parameters
- property
- IReadOnlyProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object containing the column.
Returns
A flag indicating whether the property is capable of storing only fixed-length data, such as strings.
Applies to
Entity Framework Core 9.0 and other versions
Product | Versions |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Returns a flag indicating if the property as capable of storing only fixed-length data, such as strings.
public static bool? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> Nullable<bool>
<Extension()>
Public Function IsFixedLength (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Boolean)
Parameters
- property
- IProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object containing the column.
Returns
A flag indicating if the property as capable of storing only fixed-length data, such as strings.
Applies to
Entity Framework Core 5.0
Product | Versions |
---|---|
Entity Framework Core | 5.0 |
Returns a flag indicating if the property as capable of storing only fixed-length data, such as strings.
public static bool IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
public static bool? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Nullable<bool>
<Extension()>
Public Function IsFixedLength (property As IProperty) As Boolean
<Extension()>
Public Function IsFixedLength (property As IProperty) As Nullable(Of Boolean)
Parameters
- property
- IProperty
The property.
Returns
A flag indicating if the property as capable of storing only fixed-length data, such as strings.
Applies to
Entity Framework Core 5.0 and other versions
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0 |
Returns a flag indicating whether the property is capable of storing only fixed-length data, such as strings.
public static bool? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Nullable<bool>
<Extension()>
Public Function IsFixedLength (property As IReadOnlyProperty) As Nullable(Of Boolean)
Parameters
- property
- IReadOnlyProperty
The property.
Returns
A flag indicating whether the property is capable of storing only fixed-length data, such as strings.
Applies to
Entity Framework Core 9.0 and other versions
Product | Versions |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: