Table of Contents

Method Clone

Namespace
YndigoBlue.Velocity.Data
Assembly
YndigoBlue.Velocity.dll

Clone(Action<IDatasourceConnection>)

Creates a copy of this connection with all property values duplicated. An optional configure action can be supplied to override specific properties on the copy.

public IDatasourceConnection Clone(Action<IDatasourceConnection> configure = null)

Parameters

configure Action<IDatasourceConnection>

An optional action that receives the cloned connection and can set any properties that should differ from the original.

Returns

IDatasourceConnection

A new independent connection of the same concrete type as the original.