Your SlideShare is downloading. ×
Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Introduction Of Linq , ASP.NET Training Ahmedabad, ASP.NET Course Ahmedabad

770
views

Published on

NicheTech Is the best software firm in ahmedabad . We are providing live project training to MCA students . We are also offering ASP.NET Training Ahmedabad , ASP.NET Course Ahmedabad , ASP.NET Classes …

NicheTech Is the best software firm in ahmedabad . We are providing live project training to MCA students . We are also offering ASP.NET Training Ahmedabad , ASP.NET Course Ahmedabad , ASP.NET Classes Ahmedabad.

ASP.NET : http://mcaprojecttraining.com/asp.net_live_training.html

Live Project Training Ahmedabad

http://mcaprojecttraining.com/asp.net_live_training.html

Published in: Education, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
770
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • 10/07/13 11:22 © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
  • Transcript

    • 1. LINQ TO SQL http://www.nichetechsolutions.com/ http://www.mcaprojecttraining.com/
    • 2. LINQ TO SQL Prepared By: Nilesh R. Parmar
    • 3.  Introduction  How LINQ works?  Architecture  Underline Execution  Execution Mode  Why LINQ?  LINQ to Objects  LINQ to SQL  Select in LINQ  Insert in LINQ  Update in LINQ  Delete in LINQ NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 4.  Language Integrated Query  A set of language extensions that allows you to perform queries without leaving the comfort of the programming language (C# or VB)  Defines keywords that you use to build query expressions like select, from and where  Select, filter, sort, group or transforms the data NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 5. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 6. var contacts = from c in customers where c.State == "WA" select new { c.Name, c.Phone }; var contacts = customers .Where(c => c.State == "WA") .Select(c => new { c.Name, c.Phone }); ExtensionExtension methodsmethods LambdaLambda expressionsexpressions QueryQuery expressionsexpressions ObjectObject initializersinitializers AnonymousAnonymous typestypes Local variableLocal variable typetype inferenceinference NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 7.  Deferred Execution var data = from d in ibEntity.Tourists where d.IsIBMember == true select d; inMemoryData = data.ToList(); NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 8.  Immediate Execution var city = ( from c in inMemoryData select (c.City.ToUpper()) ).Distinct(); NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 9.  Unifies the way of accessing data from different data sources.  Compile-time checking of all queries, reduces run time errors.  Strongly typed.  Can be applied in any project layer (UI/Business/Data)  Extensive Intellisence/Debugging support. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 10.  Query can be executed on collections & objects that implements IEnumerable interface.  LINQ queries Vs. foreach loops:  Concise and readable, especially when filtering multiple conditions.  Provides powerful filtering, ordering, and grouping capabilities with a minimum of application code. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 11.  Query data in the SQL Server Database  Implicitly transforms LINQ expression into a set of SQL queries  Advantages:  Flexibility  Change Tracking & Batch Updates  Less code NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 12. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 13. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 14. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 15. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 16. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 17. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 18. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 19. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 20. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 21. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 22. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 23. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C
    • 24. NicheTech Computer Solutions Pvt. Ltd Prepared By: Nilesh R. ParmarC C