Class DeleteColumnExpression
Expression to delete a column
Inheritance
DeleteColumnExpression
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class DeleteColumnExpression : MigrationExpressionBase, IMigrationExpression, ICanBeValidated, ISchemaExpression, IValidatableObject
Properties
|
Edit this page
View Source
ColumnNames
Gets or sets the column names
Declaration
public ICollection<string> ColumnNames { get; set; }
Property Value
|
Edit this page
View Source
SchemaName
Gets or sets the schema name
Declaration
public virtual string SchemaName { get; set; }
Property Value
|
Edit this page
View Source
TableName
Gets or sets a table name
Declaration
[Required(ErrorMessageResourceType = typeof(ErrorMessages), ErrorMessageResourceName = "TableNameCannotBeNullOrEmpty")]
public virtual string TableName { get; set; }
Property Value
Methods
|
Edit this page
View Source
ExecuteWith(IMigrationProcessor)
Execute the expression with the given processor
Declaration
public override void ExecuteWith(IMigrationProcessor processor)
Parameters
Type |
Name |
Description |
IMigrationProcessor |
processor |
The processor to execute the expression with
|
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
View Source
Validate(ValidationContext)
Declaration
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Returns
Implements
Extension Methods