SqlInterpreter 类

解释 Transact-SQL 片段(如果这些片段已执行),以定义将要生成的架构。

继承层次结构

System.Object
  Microsoft.Data.Schema.Sql.SchemaModel.SqlInterpreter
    Microsoft.Data.Schema.Sql.SchemaModel.Sql100Interpreter
    Microsoft.Data.Schema.Sql.SchemaModel.Sql80Interpreter
    Microsoft.Data.Schema.Sql.SchemaModel.Sql90Interpreter

命名空间:  Microsoft.Data.Schema.Sql.SchemaModel
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)

语法

声明
Public MustInherit Class SqlInterpreter
public abstract class SqlInterpreter
public ref class SqlInterpreter abstract
[<AbstractClass>]
type SqlInterpreter =  class end
public abstract class SqlInterpreter

SqlInterpreter 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 SqlInterpreter 初始化 SqlInterpreter 类的新实例。

页首

属性

  名称 说明
公共属性 Comparer 获取或设置用于比较标识符的比较器。
公共属性 DefaultSchema 获取或设置要使用的默认架构。
公共属性 IsServerElement 获取或设置一个值,该值指示被解释的实体是否是一个服务器元素。

页首

方法

  名称 说明
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 Interpret(TSqlBatch, SqlSchemaAnalyzer, IList<InterpretationError>%) 解释 Transact-SQL 批处理。
公共方法 Interpret(TSqlScript, SqlSchemaAnalyzer, IList<InterpretationError>%) 解释 Transact-SQL 脚本。
公共方法 Interpret(TSqlStatement, SqlSchemaAnalyzer, IList<InterpretationError>%) 解释 Transact-SQL 语句。
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Data.Schema.Sql.SchemaModel 命名空间