Quantcast
Channel: Equivalent linq
Browsing all 6 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Equivalent linq

Hi Shak Imran,Welcome to MSDN Forum.Please try the query statement belowvar query = from p in context.Players let t = (string.IsNullOrEmpty(p.ID.ToString().Substring(p.ID.ToString().Length - 3,...

View Article



Equivalent linq

Hi yoyo,Here RIGHT is built in sql function and   'sp' is a prefix string, you can consider following,select  RIGHT('000'+Convert(varchar,ISNULl(Max( Convert(integer,RIGHT(SupplierId, 3))),0)+1 ),3)...

View Article

Equivalent linq

regarding linq2sql, i think you can use ternary operator "?:" to do this.for example ISNULL, you can write XXXX?YYYY:ZZZZ...

View Article

Image may be NSFW.
Clik here to view.

Equivalent linq

Hi Shak, Welcome to the MSDN forum!Would you please tell us the purpose of the SQL statement?What are 'SP' and 'RIGHT'?Would you please tell us the structure of the table so that we can run the...

View Article

Equivalent linq

Hi,You can use the LINKER tool to convert to sql to linq, following is the linkhttp://www.sqltolinq.com/A nice article on how to use...

View Article


Equivalent linq

Hi,I need equivalent linq of,select 'SP'+ RIGHT('000'+Convert(varchar,ISNULl(Max( Convert(integer,RIGHT(SupplierId, 3))),0)+1 ),3) from TblSupplierswhere SupplierId is column name and TblSuppliers is...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images