Table of Contents

Class DslMigrationOption

Namespace: Casewhere.Runtime.DSL
Assembly: Casewhere.Runtime.dll

An option for Migrate api.

public class DslMigrationOption

Inheritance

objectDslMigrationOption

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<DslMigrationOption>(DslMigrationOption)

Constructors

DslMigrationOption(bool, bool, bool)

public DslMigrationOption(bool canUpdateIfExist = false, bool ignoreEnforceConstraints = false, bool notifyChange = true)

Parameters

canUpdateIfExist bool

ignoreEnforceConstraints bool

notifyChange bool

Properties

CanUpdateIfExist

Flag indicates whether to update the data object if it have already exist. Default value: false

public bool CanUpdateIfExist { get; set; }

Property Value

bool

IgnoreEnforceConstraints

Flag indicates whether to ignore the EnforceConstraints property. Default value: false

public bool IgnoreEnforceConstraints { get; set; }

Property Value

bool

NotifyChange

Skip the data change notification when updating data. Default value: true

public bool NotifyChange { get; set; }

Property Value

bool