DbCommandBuilder.SchemaSeparator Property

 

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)

public virtual string SchemaSeparator { 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
Show: