DataGenerationServices.GetModelCopyConfiguration 方法
获取所提供的数据架构模型中元素的配置。
命名空间: Microsoft.Data.Schema.Tools.DataGenerator
程序集: Microsoft.Data.Schema.Tools(在 Microsoft.Data.Schema.Tools.dll 中)
语法
声明
Public Overridable Function GetModelCopyConfiguration ( _
projectStore As DataSchemaModel _
) As ModelComparerConfiguration
public virtual ModelComparerConfiguration GetModelCopyConfiguration(
DataSchemaModel projectStore
)
public:
virtual ModelComparerConfiguration^ GetModelCopyConfiguration(
DataSchemaModel^ projectStore
)
abstract GetModelCopyConfiguration :
projectStore:DataSchemaModel -> ModelComparerConfiguration
override GetModelCopyConfiguration :
projectStore:DataSchemaModel -> ModelComparerConfiguration
public function GetModelCopyConfiguration(
projectStore : DataSchemaModel
) : ModelComparerConfiguration
参数
- projectStore
类型:Microsoft.Data.Schema.SchemaModel.DataSchemaModel
一个 DataSchemaModel 对象。
返回值
类型:Microsoft.Data.Schema.SchemaModel.ModelComparerConfiguration
所提供模型的模型比较器配置。
备注
此方法与 GetTypesExcludedFromComparison 方法搭配,用于比较模型与目标数据库。
通过此方法提供此信息,以便您的数据库架构模型可以显示在 Visual Studio 项目中,在那里用户可以创建和操作您已经在模型中定义的数据库对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Data.Schema.Tools.DataGenerator 命名空间