MigrationsSqlGenerator.IsOldColumnSupported(IModel) 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.
Checks whether or not AddColumnOperation supports the passing in the old column, which was only added in EF Core 1.1.
protected virtual bool IsOldColumnSupported (Microsoft.EntityFrameworkCore.Metadata.IModel model);
protected virtual bool IsOldColumnSupported (Microsoft.EntityFrameworkCore.Metadata.IModel? model);
abstract member IsOldColumnSupported : Microsoft.EntityFrameworkCore.Metadata.IModel -> bool
override this.IsOldColumnSupported : Microsoft.EntityFrameworkCore.Metadata.IModel -> bool
Protected Overridable Function IsOldColumnSupported (model As IModel) As Boolean
- model
- IModel
The target model which may be null
if the operations exist without a model.
true
If the model was generated by EF Core 1.1 or later; false
if the model is
null
, has
no version specified, or was generated by an EF Core version prior to 1.1.
Product | Versions |
---|---|
Entity Framework Core | 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: