TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sai kotturu
NA
5
7.1k
how to convert Stored procedure into Linq SELECT * FROM dbo.View_ProductVersie
Nov 19 2012 1:27 AM
ALTER
PROCEDURE
[dbo]
.
[ProductVersie_GetVersions]
(
@ProductId
)
INT
=
NULL
AS
BEGIN
SET
NOCOUNT
ON
SELECT
*
FROM
dbo
.
View_ProductVersie
WHERE
(
@ProductId
IS
NULL
OR
ProductId
=
@ProductId
)
ORDER
BY
CASE
WHEN
IsStructuurProduct
=
1
THEN
0
-- Leergangen
ProductId
Versie
END
ELSE
1
END
,
,
DESC
Reply
Answers (
1
)
linq to sql
SQL to LINQ Help