在Sparx EA中搜索方案

时间:2014-07-11 00:35:24

标签: sql enterprise-architect scenarios

有没有人有查询sql查询,允许他们搜索给定包下的所有方案?这适用于SPARX Exterprise Architect 10.

1 个答案:

答案 0 :(得分:1)

以下对我有用,但是我无法从那里导航到我在(在搜索结果中)定义场景的用例。

select s.ea_guid as CLASSGUID,s.Scenario, s.ScenarioType as 'Type', class.name as 'Class Name' ,package.name as 'Package Name' ,package_p1.name as 'Package level -1',package_p2.name as 'Package level -2',package_p3.name as 'Package level -3' from (((((t_objectscenarios s inner join t_object class on s.object_id = class.object_id) inner join t_package package on class.package_id = package.package_id) left join t_package package_p1 on package_p1.package_id = package.parent_id) left join t_package package_p2 on package_p2.package_id = package_p1.parent_id) left join t_package package_p3 on package_p3.package_id = package_p2.parent_id) where class.name like '<Search Term>%'