Book a Demo

Author Topic: Using Corporate Edition with SQL Server  (Read 3362 times)

gdrauch

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Using Corporate Edition with SQL Server
« on: July 23, 2007, 01:49:48 pm »
I am new to EA and have a question about using it with SQL Server.  I lead a team of developers and want to generate a new Project in SQL Server.  When I click Create a New Project I get a dialog box asking for a name for the .EAP file.  However, I want this new project to be in a database I created on SQL Server.  When I created this new database, I followed the instructions and ran an SQL script that I downloaded from the EA site.  Do I have to first create it as a local file and then upload it to SQL Server?  Also, when I select Open a Project File, I only have to option to load a local .EAP type file.  Once I've built my project/model, how do I get the other members of my team to open it?

Sorry if these questions sound so basic, but we all have some familiarity with UML but none with EA.  We are a bit pressed for time and need to start doing productive work with this tool as soon as possible.

Thanks.
Greg Drauch
ASI Corporation

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Using Corporate Edition with SQL Server
« Reply #1 on: July 23, 2007, 02:05:42 pm »
No problem Greg,

We've all been there before; everyone has to start sometime.

Once you've created the target database - you have done this already - EA needs some basic information loaded so it can be 'sane' when it uses the repository. You do this by copying a 'seed' project into the repository.

Open EA to do this. You do not need to open a project.

From the EA main menu choose Tools | Data Management | Project Transfer. The resulting dialog has several options, but the default EAP to DBMS is what you want. Using the browse ("...") buttons point EA to the EAP file you will use to seed the repository. Then point EA at your newly created repository. You will get a series of standard Windows dialogs, from which you can either choose or create an OLE (or ODBC) data source to point to your SQL Server database.

When you've answered the dialogs you will be returned to the EA Project Transfer dialog click Transfer and wait until things are done, then close the dialog.

Now click the Open button (or choose File | Open from the menu) and you will see Open Project dialog. At the top right, check the Connect to Server button, then once again click the browse button. Follow the same procedure to point to your repository (this time you will select the data source you created earlier).

When you've selected the data source and returned to the Open Project dialog, click Open.

Voilà!

HTH, David
No, you can't have it!

bmioch

  • EA User
  • **
  • Posts: 81
  • Karma: +0/-0
    • View Profile
Re: Using Corporate Edition with SQL Server
« Reply #2 on: July 23, 2007, 02:21:14 pm »
There is also a Connect to Server... link on the start page (bottom left).

But my favourite is to connect to the server, then go File | Save Project As... and then save an EAP file.

This EAP file is very small and only contains your connection string. This saves you doing the Connect to Server.. and subsequent dialogs every time you want to connect to your database.


Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Using Corporate Edition with SQL Server
« Reply #3 on: July 23, 2007, 05:15:41 pm »
One you connect to the SQL Server via the dialogues, you'll notice the connection is remembered in the most recently used list in the start page.  That is how I reconnect to my database. (One click and it opens).

Cheers,
David.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

gdrauch

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Using Corporate Edition with SQL Server
« Reply #4 on: July 24, 2007, 09:02:53 am »
Thanks for your help!