Class MigrationsModelDiffer.DiffContext
- Namespace
- Microsoft.EntityFrameworkCore.Migrations.Internal
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
protected class MigrationsModelDiffer.DiffContext
- Inheritance
-
MigrationsModelDiffer.DiffContext
- Inherited Members
Constructors
DiffContext()
public DiffContext()
Methods
AddCreate(ITable, CreateTableOperation)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void AddCreate(ITable target, CreateTableOperation operation)
Parameters
targetITableoperationCreateTableOperation
AddDrop(IColumn, DropColumnOperation)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void AddDrop(IColumn source, DropColumnOperation operation)
Parameters
sourceIColumnoperationDropColumnOperation
AddDrop(ITable, DropTableOperation)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void AddDrop(ITable source, DropTableOperation operation)
Parameters
sourceITableoperationDropTableOperation
AddMapping<T>(T, T)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void AddMapping<T>(T source, T target) where T : notnull
Parameters
sourceTtargetT
Type Parameters
T
FindColumn(DropColumnOperation)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IColumn? FindColumn(DropColumnOperation operation)
Parameters
operationDropColumnOperation
Returns
FindCreate(ITable)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual CreateTableOperation? FindCreate(ITable target)
Parameters
targetITable
Returns
FindDrop(IColumn)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual DropColumnOperation? FindDrop(IColumn source)
Parameters
sourceIColumn
Returns
FindDrop(ITable)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual DropTableOperation? FindDrop(ITable source)
Parameters
sourceITable
Returns
FindSource<T>(T?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual T? FindSource<T>(T? target) where T : class
Parameters
targetT
Returns
- T
Type Parameters
T
FindTable(DropTableOperation)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual ITable? FindTable(DropTableOperation operation)
Parameters
operationDropTableOperation
Returns
FindTarget<T>(T?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual T? FindTarget<T>(T? source) where T : class
Parameters
sourceT
Returns
- T
Type Parameters
T
GetTable(IEntityType)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual ITable GetTable(IEntityType entityType)
Parameters
entityTypeIEntityType