AlterTableOperation クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
既存のテーブルを変更する MigrationOperation 。
public class AlterTableOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation, Microsoft.EntityFrameworkCore.Migrations.Operations.IAlterMigrationOperation
[System.Diagnostics.DebuggerDisplay("ALTER TABLE {Name}")]
[System.Runtime.CompilerServices.Nullable(0)]
public class AlterTableOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.TableOperation, Microsoft.EntityFrameworkCore.Migrations.Operations.IAlterMigrationOperation
public class AlterTableOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.TableOperation, Microsoft.EntityFrameworkCore.Migrations.Operations.IAlterMigrationOperation
[System.Diagnostics.DebuggerDisplay("ALTER TABLE {Table}")]
public class AlterTableOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.TableOperation, Microsoft.EntityFrameworkCore.Migrations.Operations.IAlterMigrationOperation
[System.Diagnostics.DebuggerDisplay("ALTER TABLE {Name}")]
public class AlterTableOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.TableOperation, Microsoft.EntityFrameworkCore.Migrations.Operations.IAlterMigrationOperation
type AlterTableOperation = class
inherit MigrationOperation
interface IAlterMigrationOperation
[<System.Diagnostics.DebuggerDisplay("ALTER TABLE {Name}")>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type AlterTableOperation = class
inherit TableOperation
interface IAlterMigrationOperation
type AlterTableOperation = class
inherit TableOperation
interface IAlterMigrationOperation
[<System.Diagnostics.DebuggerDisplay("ALTER TABLE {Table}")>]
type AlterTableOperation = class
inherit TableOperation
interface IAlterMigrationOperation
[<System.Diagnostics.DebuggerDisplay("ALTER TABLE {Name}")>]
type AlterTableOperation = class
inherit TableOperation
interface IAlterMigrationOperation
Public Class AlterTableOperation
Inherits MigrationOperation
Implements IAlterMigrationOperation
Public Class AlterTableOperation
Inherits TableOperation
Implements IAlterMigrationOperation
- 継承
- 継承
- 継承
- 属性
- 実装
注釈
詳細と例については、「 データベースの移行 」を参照してください。
コンストラクター
| Name | 説明 |
|---|---|
| AlterTableOperation() |
既存のテーブルを変更する MigrationOperation 。 |
プロパティ
| Name | 説明 |
|---|---|
| Comment |
このテーブルのコメント (継承元 TableOperation) |
| IsDestructiveChange |
操作によってデータベース内のデータが失われる可能性があるかどうかを示します。 (継承元 MigrationOperation) |
| IsReadOnly |
現在のオブジェクトが読み取り専用かどうかを示します。 (継承元 AnnotatableBase) |
| Item[String] |
指定した名前の値注釈を取得し、存在しない場合は |
| Name |
テーブルの名前。 |
| Name |
テーブルの名前。 (継承元 TableOperation) |
| OldTable |
変更前のテーブルを表す操作。 |
| Schema |
テーブルを含むスキーマ。既定のスキーマを使用する必要がある場合は |
| Schema |
テーブルを含むスキーマ。既定のスキーマを使用する必要がある場合は |
メソッド
明示的なインターフェイスの実装
拡張メソッド
| Name | 説明 |
|---|---|
| AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>) |
オブジェクトに注釈を追加します。 |
| AnnotationsToDebugString(IAnnotatable, Int32) |
オブジェクトで宣言されているすべての注釈のデバッグ文字列を取得します。 |
| GetAnnotation(IAnnotatable, String) |
指定した名前の注釈を取得し、存在しない場合はスローします。 |
| GetAnnotation(IMutableAnnotatable, String) |
指定した名前の注釈を取得し、存在しない場合はスローします。 |
| GetOrAddAnnotation(IMutableAnnotatable, String, String) |
特定のキーを持つ既存の注釈を取得するか、存在しない場合は新しい注釈を追加します。 |
| SetOrRemoveAnnotation(IMutableAnnotatable, String, Object) |
指定した名前の下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。
|