Table of Contents

Method CloneForStaging

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

CloneForStaging(string, bool)

Creates a staging copy of this table suitable for bulk import, excluding auto-generated columns unless keepIdentity is true. All NOT NULL constraints are relaxed on the copy to allow partial data loading.

public Table CloneForStaging(string newName = null, bool keepIdentity = false)

Parameters

newName string

An optional new name for the staging table. Defaults to the original table name.

keepIdentity bool

When true, auto-generated columns are included in the copy. Defaults to false.

Returns

Table

A new Table instance suitable for staging use.