RenameColumnOperation 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于 MigrationOperation 重命名现有列的 。
public class RenameColumnOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation
	[System.Diagnostics.DebuggerDisplay("ALTER TABLE {Table} RENAME COLUMN {Name} TO {NewName}")]
public class RenameColumnOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation
	[System.Diagnostics.DebuggerDisplay("ALTER TABLE {Table} RENAME COLUMN {Name} TO {NewName}")]
public class RenameColumnOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation, Microsoft.EntityFrameworkCore.Migrations.Operations.ITableMigrationOperation
	type RenameColumnOperation = class
    inherit MigrationOperation
	[<System.Diagnostics.DebuggerDisplay("ALTER TABLE {Table} RENAME COLUMN {Name} TO {NewName}")>]
type RenameColumnOperation = class
    inherit MigrationOperation
	[<System.Diagnostics.DebuggerDisplay("ALTER TABLE {Table} RENAME COLUMN {Name} TO {NewName}")>]
type RenameColumnOperation = class
    inherit MigrationOperation
    interface ITableMigrationOperation
	Public Class RenameColumnOperation
Inherits MigrationOperation
	Public Class RenameColumnOperation
Inherits MigrationOperation
Implements ITableMigrationOperation
		- 继承
 
- 继承
 
- 属性
 
- 实现
 
注解
有关详细信息和示例 ,请参阅数据库迁移 。
构造函数
| RenameColumnOperation() | 
		 用于 MigrationOperation 重命名现有列的 。  | 
        	
属性
| IsDestructiveChange | 
		 指示操作是否可能导致数据库中的数据丢失。 (继承自 MigrationOperation) | 
        	
| IsReadOnly | 
		 指示当前对象是否为只读。 (继承自 AnnotatableBase) | 
        	
| Item[String] | 
		 获取具有给定名称的值批注,如果不存在,则返回   | 
        	
| Name | 
		 列的旧名称。  | 
        	
| NewName | 
		 新的列名称。  | 
        	
| Schema | 
		 包含表的架构,或者   | 
        	
| Table | 
		 包含该列的表的名称。  | 
        	
方法
显式接口实现
扩展方法
| AnnotationsToDebugString(IAnnotatable, Int32) | 
		 获取对象上声明的所有注释的调试字符串。  | 
        	
| GetAnnotation(IAnnotatable, String) | 
		 获取具有给定名称的批注,如果不存在,则引发该批注。  | 
        	
| AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>) | 
		 向 对象添加批注。  | 
        	
| GetAnnotation(IMutableAnnotatable, String) | 
		 获取具有给定名称的批注,如果不存在,则引发该批注。  | 
        	
| GetOrAddAnnotation(IMutableAnnotatable, String, String) | 
		 获取具有给定键的现有批注,或者添加新批注(如果不存在)。  | 
        	
| SetOrRemoveAnnotation(IMutableAnnotatable, String, Object) | 
		 设置存储在给定名称下的批注。 如果具有指定名称的注释已存在,则覆盖现有批注。 如果   |