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
target
ITableoperation
CreateTableOperation
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
source
IColumnoperation
DropColumnOperation
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
source
ITableoperation
DropTableOperation
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
source
Ttarget
T
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
operation
DropColumnOperation
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
target
ITable
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
source
IColumn
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
source
ITable
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
target
T
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
operation
DropTableOperation
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
source
T
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
entityType
IEntityType