共用方式為


TSqlModel.AddObjects 方法

包含保護的成員
包含繼承的成員

Adds objects to the model based on the contents of a TSqlScript object.

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 AddObjects(TSqlScript) Adds objects to the model based on the contents of a TSqlScript object. The script should be valid TSql with no parse errors.
公用方法 AddObjects(String) Adds objects to the model based on the contents of a TSql Script string. The script should consist of valid TSql DDL statements.
公用方法 AddObjects(TSqlScript, TSqlObjectOptions) Add Objects to the model based on the contents of a TSqlScript object, plus additional metadata defined by a TSqlObjectOptions object The script should be valid TSql with no parse errors.
公用方法 AddObjects(String, TSqlObjectOptions) Adds Objects to the model based on the contents of a TSql Script string, plus additional metadata defined by a TSqlObjectOptions object The script should consist of valid TSql DDL statements.

上層

請參閱

參考

TSqlModel 類別

Microsoft.SqlServer.Dac.Model 命名空間