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

There are so many languages are already existing for developing application.Then what is the need of .net.

1 Answers  


what is page_directive

1 Answers   BoA, ICT, PCS,


Explain pipelining? : Dot net architecture

0 Answers  


How cache coherency is eliminated? : Dot net architecture

0 Answers  


what is a required field validation control?

2 Answers   Six Sigma,


Explain in-proc,out-proc and sql server.

4 Answers   G7 CR Technologies, Ness Technologies,


What is the difference between primary & secondary storage device? : Dot net architecture

0 Answers  


What is the use of web.config?

0 Answers  


What is private constructor? And it's use?

0 Answers  


Define cache coherency? : Dot net architecture

0 Answers  


Define cache? : Dot net architecture

0 Answers  


How Web service create Proxy Using WSDL?

1 Answers  


Categories