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

What is one way operation?

0 Answers  


What i sthe meaning of .(dot) in .Net?

9 Answers   HCL,


What is the purpose of cache? : Dot net architecture

0 Answers  


Which tool you will use to deploy a windows service

1 Answers   Fulcrum Logic,


i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?

0 Answers  






How do we do authentications using atlas?

0 Answers  


Does .NET runtime offer Deterministic Destruction or not?

0 Answers   HCL,


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

0 Answers  


how to delete the record using data reader

0 Answers   PCS,


Difference between type constructor and instance constructor?

0 Answers  


Explain difference between machine config vs. Web config? : .NET Architecture

0 Answers  


3. Should validation (did the user enter a real date) occur server-side or client-side? Why?

4 Answers  


Categories