dotConnect for PostgreSQL Documentation
Devart.Common Namespace / DbCommandBuilderBase Class / UseCatalog Property

In This Topic
UseCatalog Property (DbCommandBuilderBase)
In This Topic
Specifies whether the catalog identifier is included in data source object names.
Syntax
'Declaration
 
Public Overridable Property UseCatalog As Boolean
 

Property Value

true if the catalog identifier is included in data source object names; otherwise, false. The default value is false.
Remarks

If true, data source object names in the generated CUD statements will contain the catalog identifier.

Catalog is a second-level data container. This property is only reasonable with UseSchema being true.

For example, if this property is true, the generated INSERT statement will look like the following:

INSERT INTO mycatalog.myschema.mytable ...

And if this property is false, the generated INSERT statement will look like the following:

INSERT INTO myschema.mytable ...
See Also