Table of Contents

Class RenameFieldOperation

Namespace
eQuantic.Core.Data.Migration
Assembly
eQuantic.Core.Data.dll

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

entityType Type
field LambdaExpression
newName string

Properties

Field

The field selector.

public LambdaExpression Field { get; }

Property Value

LambdaExpression

NewName

The new field name.

public string NewName { get; }

Property Value

string