RefactoringDeploymentAnalyzer.Analyze 方法
根据提供的源数据模型和目标模型分析提供的事务记录,以此来返回目标操作的列表。
命名空间: Microsoft.Data.Schema.Refactoring
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public MustOverride Function Analyze ( _
sourceModel As DataSchemaModel, _
targetModel As DataSchemaModel, _
record As RefactoringRecord _
) As IList(Of TargetModelOperation)
public abstract IList<TargetModelOperation> Analyze(
DataSchemaModel sourceModel,
DataSchemaModel targetModel,
RefactoringRecord record
)
public:
virtual IList<TargetModelOperation^>^ Analyze(
DataSchemaModel^ sourceModel,
DataSchemaModel^ targetModel,
RefactoringRecord^ record
) abstract
abstract Analyze :
sourceModel:DataSchemaModel *
targetModel:DataSchemaModel *
record:RefactoringRecord -> IList<TargetModelOperation>
public abstract function Analyze(
sourceModel : DataSchemaModel,
targetModel : DataSchemaModel,
record : RefactoringRecord
) : IList<TargetModelOperation>
参数
- sourceModel
类型:Microsoft.Data.Schema.SchemaModel.DataSchemaModel
一个 DataSchemaModel,表示源模型。
- targetModel
类型:Microsoft.Data.Schema.SchemaModel.DataSchemaModel
一个 DataSchemaModel,表示目标模型。
- record
类型:Microsoft.Data.Schema.Refactoring.RefactoringRecord
一个要分析的 RefactoringTransactionRecord 对象。
返回值
类型:System.Collections.Generic.IList<TargetModelOperation>
一个 TargetModelOperation 类型的 IList<T>。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
RefactoringDeploymentAnalyzer 类
Microsoft.Data.Schema.Refactoring 命名空间
RefactoringTransactionRecord