Convert SQL to Linq

Hi I have a sql query like

SELECT IsoCode, SUM(credit)-SUM(Debit)as [Balance]
  FROM RegisterTransactions
  WHERE  IsoCode NOT IN ('Regular')
  GROUP BY IsoCode
  UNION
  SELECT 'Regular', TransferAmount
  FROM RegisterTransactions
  WHERE  IsoCode IN ('Regular')

I want to convert it to linq I am facing problem please help me
May 4th, 2015 6:30am

I think you need a different group, one for LINQ or SQL perhaps, this one is for Visio.

Free Windows Admin Tool Kit Click here and download it now
May 4th, 2015 3:35pm

you might check this out

https://msdn.microsoft.com/en-us/library/bb399401.aspx

al

May 7th, 2015 8:44am

Hi,

This is the forum to discuss questions and feedback for Microsoft Visio, please post your question to the SQL forum

https://social.technet.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

George Zhao
TechNet Community Support

Free Windows Admin Tool Kit Click here and download it now
May 18th, 2015 5:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics