0

I want to create Entity Data Model from UniVerse/UniData database.

Rajan Kumar
  • 718
  • 1
  • 4
  • 9

3 Answers3

1

I would like to answer this question myself.

  1. Download and Install U2NETDK v1.2.0 BETA enter image description here

  2. Confirm Installation using VS2010->Help->About

enter image description here

  1. Confirm Installation using Control Panel->Programs Features

enter image description here

  1. Start Visual Studio 2010. Go to View->Server Explorer->Add Connection. Go to ‘Change Data source’ Dialog. Select ‘U2 Database’ enter image description here

  2. Fill the connection string. Test the connection. Select ‘OK’ enter image description here

  3. U2 Connection will be added in Server Explore enter image description here

  4. Open VS2010 WinForm Application. Right Click on solution explorer and add new item. enter image description here

  5. Select Data->ADO.NET Entity Data Model. Give a name, for example ‘Student.edmx’. You will see Student Data Model in EDM Designer. enter image description here

  6. Select 'Generate from database' enter image description here

  7. Select 'demoxxxxxx' connection string

enter image description here

  1. Select all tables and press 'Finish' enter image description here

  2. You will see Student Model in Entity Data Designer enter image description here

  3. Select 'Data->Show Data Sources' enter image description here

  4. Open Form1 in Designer mode

enter image description here

  1. Open Toolbox. Go to 'Data'. Drag and Drop 'DataGridView' into Form Designer. Click 'Choose Data Source' enter image description here

  2. Select 'Add Project Data Source' enter image description here

  3. Select 'Object' enter image description here

  4. Select 'STUDENT_NF_SUB' enter image description here

  5. You will see 'DataGridView' with Student Entity Meta data. enter image description here

  6. Double click on Form. It will take you to the code behind. Create a demoEntity context. Query Student table and bind with datagrid. enter image description here

  7. Go to Debug->start Without Debugging enter image description here

  8. See the completed application enter image description here

Rajan Kumar
  • 718
  • 1
  • 4
  • 9
0

Rajan - your demo shows UniObjects Toolkit for DotNet at version 1.2.0 and I'm eager to check this out, but searching the Rocket website the latest version available for download is UO v1.1.1 . Is there a way to get the newer bits?

  • Hi Rich, Thank you for asking this question. We are running BETA of U2NETDK v1.2.0. You can join the BETA program. Either you contact U2 Support or send me an email. We will include in our BETA. Then you can download U2NETDK v 1.2.0. You can use this email to contact U2 Support. U2 Askus Mailbox Rajan – Rajan Kumar Dec 21 '12 at 20:55
0

Please note that U2NETDK v1.2.0 has been released and is no longer in beta. To use the Visual Studio Add-Ins you must acquire a license from your software provider. The ADO.NET provider and native API (formerly UO.NET) are available at no cost. U2askus@rocketsoftware.com is a good email for general product information; if you have a support maintenance contract with Rocket Software, the email is u2support@rocketsoftware.com. If you obtain your maintenance from an ISV or distributor, you would contact them for support.