CreateTableBuilder<TColumns>
CreateTableBuilder(CreateTableOperation, IReadOnlyDictionary<PropertyInfo, AddColumnOperation>)
Annotation(String, Object)
CheckConstraint(String, String)
ForeignKey(String, Expression<Func<TColumns, Object>>, String, String, String, ReferentialAction, ReferentialAction)
ForeignKey(String, Expression<Func<TColumns, Object>>, String, String[], String, ReferentialAction, ReferentialAction)
PrimaryKey(String, Expression<Func<TColumns, Object>>)
UniqueConstraint(String, Expression<Func<TColumns, Object>>)
netcoreapp2.2
namespace Microsoft.EntityFrameworkCore.Migrations.Operations.Builders
{
public class CreateTableBuilder<TColumns> : OperationBuilder<CreateTableOperation>
{
public virtual OperationBuilder<AddForeignKeyOperation> ForeignKey(string name, Expression<Func<TColumns, object>> column, string principalTable, string principalColumn, string principalSchema = null, ReferentialAction onUpdate = ReferentialAction.NoAction, ReferentialAction onDelete = ReferentialAction.NoAction);
}
}
nuget.org | 0.3 % Reference this API |
---|---|
Upgrade Planner | 0.1 % Reference this API |
.NET | 8.09.010.0 |
.NET Core | 2.02.12.2 |
Information specific to netcoreapp2.2 | |
Assembly | Microsoft.EntityFrameworkCore.Relational , Version=2.2.6.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API