ColumnModel.IsNarrowerThan Method

Definition

Overloads

IsNarrowerThan(ColumnModel, DbProviderManifest)

Determines if this column is a narrower data type than another column. Used to determine if altering the supplied column definition to this definition will result in data loss.

IsNarrowerThan(ColumnModel, DbProviderManifest)

Determines if this column is a narrower data type than another column. Used to determine if altering the supplied column definition to this definition will result in data loss.

IsNarrowerThan(ColumnModel, DbProviderManifest)

Determines if this column is a narrower data type than another column. Used to determine if altering the supplied column definition to this definition will result in data loss.

public bool IsNarrowerThan (System.Data.Entity.Migrations.Model.ColumnModel column, System.Data.Entity.Core.Common.DbProviderManifest providerManifest);
member this.IsNarrowerThan : System.Data.Entity.Migrations.Model.ColumnModel * System.Data.Entity.Core.Common.DbProviderManifest -> bool
Public Function IsNarrowerThan (column As ColumnModel, providerManifest As DbProviderManifest) As Boolean

Parameters

column
ColumnModel

The column to compare to.

providerManifest
DbProviderManifest

Details of the database provider being used.

Returns

True if this column is of a narrower data type.

Applies to

IsNarrowerThan(ColumnModel, DbProviderManifest)

Determines if this column is a narrower data type than another column. Used to determine if altering the supplied column definition to this definition will result in data loss.

public bool IsNarrowerThan (System.Data.Entity.Migrations.Model.ColumnModel column, System.Data.Common.DbProviderManifest providerManifest);
member this.IsNarrowerThan : System.Data.Entity.Migrations.Model.ColumnModel * System.Data.Common.DbProviderManifest -> bool
Public Function IsNarrowerThan (column As ColumnModel, providerManifest As DbProviderManifest) As Boolean

Parameters

column
ColumnModel

The column to compare to.

providerManifest
DbProviderManifest

Details of the database provider being used.

Returns

True if this column is of a narrower data type.

Applies to