SqlInterpreter Class

Interprets Transact-SQL fragments to define the schema that would be generated if those fragments were executed.

Inheritance Hierarchy

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

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

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

The SqlInterpreter type exposes the following members.

Constructors

  Name Description
Protected method SqlInterpreter Initializes a new instance of the SqlInterpreter class.

Top

Properties

  Name Description
Public property Comparer Gets or sets the comparer that is used to compare identifiers.
Public property DefaultSchema Gets or sets the default schema to use.
Public property IsServerElement Gets or sets a value that indicates whether the entity that is interpreted is a server element.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Interpret(TSqlBatch, SqlSchemaAnalyzer, IList<InterpretationError>%) Interprets a Transact-SQL batch.
Public method Interpret(TSqlScript, SqlSchemaAnalyzer, IList<InterpretationError>%) Interprets a Transact-SQL script.
Public method Interpret(TSqlStatement, SqlSchemaAnalyzer, IList<InterpretationError>%) Interprets a Transact-SQL statement.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Schema.Sql.SchemaModel Namespace