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

In This Topic
    UseSchema Property
    In This Topic
    Specifies whether the schema identifier is included in data source object names.
    Syntax
    'Declaration
     
    Public Overridable Property UseSchema As Boolean
    public virtual bool UseSchema {get; set;}

    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.

    schema is a first-level data container.

    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 ...
    
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also