Book a Demo

Author Topic: Example of API use in C# for SQL access  (Read 3919 times)

Andy B

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Example of API use in C# for SQL access
« on: November 03, 2008, 10:56:52 pm »
Hi

Does anyone have an example of how to connect to an EA repository implemented in SQL server via C#? I can connect to an EAP (via OpenFile) but can't seem to find the equivalent syntax to connect to the SQL repo.

Thanks.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Example of API use in C# for SQL access
« Reply #1 on: November 05, 2008, 07:52:57 am »
You use the same function, but pass in the connection string.

Andy B

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Example of API use in C# for SQL access
« Reply #2 on: November 05, 2008, 07:58:26 am »
thanks - that has done it