This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Sets the identity insert on or off.

Namespace: Smartsite.Data
Assembly:  Smartsite.Data (in Smartsite.Data.dll)

Syntax

C#Copy imageCopy Code
public abstract void SetIdentityInsertOnOff(
	 conn,
	 transaction,
	string tableName,
	bool on
)
Visual Basic (Declaration)Copy imageCopy Code
Public MustOverride Sub SetIdentityInsertOnOff ( _
	conn As , _
	transaction As , _
	tableName As , _
	on As  _
)

Parameters

conn
IDbConnection
The connection object.
transaction
IDbTransaction
The transaction.
tableName
String
Name of the table.
on
Boolean
if set to true [on].

See Also

Database Class
Smartsite.Data Namespace
Advanced