Click or drag to resize

DBConfigurationBaseCheckAddLayer Method

Check to see if a layer exists, if not, add it.

Namespace:  Cadcorp.Configuration.Connectors
Assembly:  Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public virtual int CheckAddLayer(
	DbConnection connection,
	string layerName
)

Parameters

connection
Type: System.Data.CommonDbConnection
Database Connection to use
layerName
Type: SystemString
Layer Name

Return Value

Type: Int32
Layer ID

Implements

IDBConfigWriterCheckAddLayer(DbConnection, String)
See Also