共用方式為


GeneratorInit.TableScopedGenerationContext 屬性

取得資料產生器和 SQL 資料表組合的共用執行個體資訊。

命名空間:  Microsoft.Data.Schema.Tools.DataGenerator
組件:  Microsoft.Data.Schema.Tools (在 Microsoft.Data.Schema.Tools.dll 中)

語法

'宣告
Public ReadOnly Property TableScopedGenerationContext As IDictionary(Of String, Object)
    Get
public IDictionary<string, Object> TableScopedGenerationContext { get; }
public:
property IDictionary<String^, Object^>^ TableScopedGenerationContext {
    IDictionary<String^, Object^>^ get ();
}
member TableScopedGenerationContext : IDictionary<string, Object>
function get TableScopedGenerationContext () : IDictionary<String, Object>

屬性值

型別:System.Collections.Generic.IDictionary<String, Object>
共用執行個體資訊。

備註

這個屬性會用於共用執行個體。 它會傳回保證每個資料產生器和 SQL 資料表組合都具有相同執行個體的字典。 如需詳細資訊,請參閱資料產生器擴充性概觀

.NET Framework 安全性

請參閱

參考

GeneratorInit 類別

Microsoft.Data.Schema.Tools.DataGenerator 命名空間

其他資源

資料產生器擴充性概觀