Book a Demo

Author Topic: Invoking sql update query in C#  (Read 4264 times)

Tomasz

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Invoking sql update query in C#
« on: December 18, 2014, 10:02:38 pm »
Can anybody can help me with invoking SQL update query in C#?

I have found only that in Repository class there is a SQLQuery method, but probably it works only with 'SELECT'.

Execute methods not found :(

Thanks in advance.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Invoking sql update query in C#
« Reply #1 on: December 19, 2014, 12:13:24 am »
The methods is Repository.Execute. It is hidden and you will have no auto-completion in your IDE. But it works.

q.

Tomasz

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Invoking sql update query in C#
« Reply #2 on: December 19, 2014, 01:13:15 am »
Another surprise from EA creators :)

Thank you very much.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Invoking sql update query in C#
« Reply #3 on: December 19, 2014, 01:58:05 am »
If I wouldn't know better I'd say the easter bunny comes from Australia.

q.