DbCommandBuilder.SchemaSeparator 属性

定义

获取或设置要用作架构标识符和任何其他标识符之间的分隔符的字符。Gets or sets the character to be used for the separator between the schema identifier and any other identifiers.

public:
 virtual property System::String ^ SchemaSeparator { System::String ^ get(); void set(System::String ^ value); };
public virtual string SchemaSeparator { get; set; }
member this.SchemaSeparator : string with get, set
Public Overridable Property SchemaSeparator As 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. 例如,SQL Server 使用冒号创建完整的标识符,如person: CustomerName,其中 "person" 是架构名称,而 "CustomerName" 是标识符。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.

适用于

另请参阅