Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dbetsing

Pages: [1]
1
General Board / = Operator code generation
« on: March 18, 2011, 06:01:20 am »
I am generating C++ code from EA.  Does anyone know if there is a way to have the model automatically generate an = operator (assignment operator) into the code or to automatically add it to a class within the model (and then be able to generate it)?

Thanks

Doug

2
General Board / Re: Search Sequence Diagrams
« on: February 12, 2011, 05:06:25 am »
Thanks alot.  That helped immensely.  As expected, the problem was not understanding how to build an SQL search.  Whatever I did before was wrong.  Going through the help, I entered the SQL correctly and your script worked excellent.   Thanks Again!!!

3
General Board / Re: Search Sequence Diagrams
« on: February 09, 2011, 09:06:57 am »
Quote
Try this one:
Code: [Select]
select distinct d.ea_guid as CLASSGUID,d.Diagram_Type as CLASSTYPE,d.name as 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_connector c
inner join t_diagram d on c.diagramID = d.diagram_id)
inner join t_package package on d.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 c.name like '#WC#<Search Term>#WC#(#WC#)'
and d.Diagram_Type = 'Sequence'

Geert

Thanks for the post.  I apologize for not getting back earlier, but when I copied and pasted the above into the sql search, it didn't work. (I got the column headings but couldn't get any results).  My assumption is that I am not using EA correctly or I don't recall enough sql to use the above correctly, so I wanted to investigate further before coming back and just haven't gotten time yet.  

4
General Board / Search Sequence Diagrams
« on: January 29, 2011, 02:04:51 am »
I'm new to EA and am attempting to find a way to search for all sequence diagrams where a method is used.  Can anyone tell me if there is a way to do that?

Pages: [1]