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

Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?

0 Answers  


can aspx page contains two pager tags ?

1 Answers  


Explain the five stages in a dlx pipeline? : Dot net architecture

0 Answers  


What is the difference between an application and a program?

0 Answers  


what is diffrent beatween localprinter and networkprinter

0 Answers  






What are the different pipelining hazards? : Dot net architecture

0 Answers  


What is the difference between absolute expiration and sliding-time expiration?

0 Answers   MindCracker,


Explain the difference between state server and sqlserver : Dot net architecture

0 Answers  


how to set the startup position of the form?

0 Answers   Six Sigma,


Explain about appdomains?

0 Answers  


Explain the purpose of cache? How is it used? : Dot net architecture

0 Answers  


What is Com Callable wrapper?when it will created?

0 Answers  


Categories