dotConnect Universal Documentation
Devart.Common Namespace / DbCommandBuilderBase Class / UseSchema Property

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

Property Value

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

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

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

INSERT INTO myschema.mytable ...

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

INSERT INTO mytable ...
See Also