In LINQ TO SQL if it is possible to select the top 5 records from the particular table using select top 5.



In LINQ TO SQL if it is possible to select the top 5 records from the particular table using select ..

Answer / imatoria

(from t in context.tableName
select t).Take(5)

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure on hardware that converts the ascii value to binary? : .NET Architecture

0 Answers  


How to improve the cache performance? : Dot net architecture

0 Answers  


how to kill user session ?

2 Answers  


So what exactly is the configuration file for then?

0 Answers  


how to find the 2nd higgest salary in the column for example take table name is employee? And also find bottom 2nd lowest salary ?

11 Answers   GeoTechnology, Wipro,






What is msil, and why should my developers need an appreciation of it if at all?

0 Answers  


WHAT IS COMPUTER

7 Answers   NICE, TVS,


Explain different pipelining hazards and how are they eliminated? : .NET Architecture

0 Answers  


Explain the five stages in a dlx pipeline? : .NET Architecture

0 Answers  


Explain about appdomains?

0 Answers  


if i want to validate all the control on web page how i will do

2 Answers   PCS,


Explain dma? : .NET Architecture

0 Answers  


Categories