DbCommandBuilder.SchemaSeparator Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the character to be used for the separator between the schema identifier and any other identifiers.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

abstract SchemaSeparator : string with get, set
override SchemaSeparator : string with get, set

Property Value

Type: System.String

The character to be used as the schema separator.

Generally, database servers indicate the schema for an identifier by separating the schema name from the identifier with some character. For example, SQL Server uses a colon, creating complete identifiers such as Person:CustomerName, where "Person" is the schema name and "CustomerName" is the identifier. Setting this property allows developers to modify this behavior.

.NET Framework
Available since 2.0
Return to top