语言

ISmoScriptWriter 接口

定义

定义编写 sql Server 管理对象的脚本的接口

public interface ISmoScriptWriter
type ISmoScriptWriter = interface
Public Interface ISmoScriptWriter

属性

名称 说明
Header

要插入脚本开头的标头字符串

方法

名称 说明
ScriptContext(String, Urn)

写入一个字符串,该字符串指定要编写脚本的数据库。 数据库上下文相当于数据库脚本的 USE [Database] 段。

ScriptData(IEnumerable<String>, Urn)

写入表项的数据脚本。

ScriptObject(IEnumerable<String>, Urn)

使用对象的完整脚本行集调用。

适用于