Skip to main content

ImportStrategyDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Defines the import strategy for a model.

public enum ImportStrategyDto

Inheritance Object → ValueType → Enum → ImportStrategyDto
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields​

NameValueDescription
InsertOnly0Will only insert new entities. If an entity already exists, an error will be thrown.
Upsert1Replaces existing entities with the same ID. If an entity does not exist, it will be inserted.