RelationalPropertyExtensions.IsFixedLength Method

Definition

Overloads

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.

IsFixedLength(IReadOnlyProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

Returns a flag indicating whether the property is capable of storing only fixed-length data, such as strings.

C#
public static bool? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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

IsFixedLength(IProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs

Returns a flag indicating if the property as capable of storing only fixed-length data, such as strings.

C#
public static bool? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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

IsFixedLength(IProperty)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

Returns a flag indicating if the property as capable of storing only fixed-length data, such as strings.

C#
public static bool IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
C#
public static bool? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);

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

IsFixedLength(IReadOnlyProperty)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

Returns a flag indicating whether the property is capable of storing only fixed-length data, such as strings.

C#
public static bool? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);

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