Class RenameFieldOperation
Renames a field across existing documents.
public sealed class RenameFieldOperation : MigrationOperation
- Inheritance
-
RenameFieldOperation
- Inherited Members
Constructors
RenameFieldOperation(Type, LambdaExpression, string)
Renames a field across existing documents.
public RenameFieldOperation(Type entityType, LambdaExpression field, string newName)
Parameters
entityTypeTypefieldLambdaExpressionnewNamestring
Properties
Field
The field selector.
public LambdaExpression Field { get; }
Property Value
NewName
The new field name.
public string NewName { get; }