Xem 1-20 trên 21 kết quả Using linq
  • With LINQ, you can query data from a variety of sources — including databases, objects, and XML files — directly from Microsoft Visual Basic® or C#. Guided by data-access experts who’ve worked in depth with LINQ and the Microsoft development teams, you’ll learn how .NET Framework 4 implements LINQ, and how to exploit it. Clear examples show you how to deliver your own data-access solutions faster and with leaner code. Discover how to: Use LINQ to query databases, object collections, arrays, XML, Microsoft Excel® files, and other sources...

    pdf705p stingdau_123 26-01-2013 46 16   Download

  • Tham khảo tài liệu 'using linq to sql_4', công nghệ thông tin, hệ điều hành phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả

    pdf19p tengteng17 03-01-2012 26 10   Download

  • Tham khảo tài liệu 'using linq to sql_1', công nghệ thông tin, hệ điều hành phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả

    pdf21p tengteng17 03-01-2012 20 8   Download

  • The best way to write queres using LINQ to SQL is by having a DataContext-derived class in your code that exposes all the tables, stored procedures, and user-defined functions you need as properties of a class instance. You also need entity classes that are mapped to the database objects. As you have seen in previous chapters, this mapping can be made by using attributes to decorate classes or through an external XML mapping file. However, writing this information by hand is tedious and error-prone work. You need some tools to help you accomplish this work....

    pdf0p trasua_123 29-12-2012 30 8   Download

  • Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions.

    pdf331p hungntdotcr 09-08-2010 189 90   Download

  • This book will immerse you in a variety of advanced topics, including architecting different application data tiers, memory caching paradigms, data mining, and search engine optimization. Working through step-by-step exercises using P/LINQ, DLR, MEF, MVC, IronPython, Axum, and Ajax, you will learn a variety of approaches to building each of the key application tiers common to all web solutions.

    pdf316p stingdau_123 17-01-2013 68 28   Download

  • Language-Integrated Query (LINQ) is a set of features introduced in Visual Studio 2008 that extends powerful query capabilities to the language syntax of C# and Visual Basic. LINQ introduces standard, easily-learned patterns for querying and updating data, and the technology can be extended to support potentially any kind of data store. Visual Studio includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents. What is Linq?...

    pdf58p trasua_123 02-01-2013 19 4   Download

  • Add đã được thay đổi bằng InsertOnSubmit trong phiên bản hiện tại) Đoạn lệnh trên là hợp lệ nếu chỉ đơn thuần xét từ góc độ ngôn ngữ – nhưng sẽ là không có ý nghĩa khi bạn lại muốn đặt ngày khách hàng yêu cầu trước ngày đặt hàng.

    pdf21p tengteng17 03-01-2012 17 7   Download

  • Chúng ta sau đó viết thêm 5 dòng để kiểm tra dữ liệu trong lớp mô hình dữ liệu, và 11 dòng trong lớp giao diện để xử lý lỗi. Kết quả cuối cùng là một ứng dụng web đơn giản với giao diện được tùy biến cho phép người dùng lọc dữ liệu động theo phân loại, sắp xếp và phân trang một cách hiệu quả trên danh sách sản phẩm, chỉnh sửa trực tiếp thông tin sản phẩm và cho phép lưu lại các thay đổi, và xóa các sản phẩm từ hệ thống. ...

    pdf21p tengteng17 03-01-2012 26 7   Download

  • Different license terms apply to different file types: - Source code files are governed by the MICROSOFT PUBLIC LICENSE (Ms-PL) (INCLUDED BELOW). - Binary files are governed by MSDN CODE GALLERY BINARY LICENSE (INCLUDED BELOW). - Documentation files are governed by CREATIVE COMMONS ATTRIBUTION 3.0 LICENSE (INCLUDED BELOW). MICROSOFT PUBLIC LICENSE (Ms-PL) This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software....

    pdf90p dnguyenduy 01-07-2013 25 5   Download

  • OVER THE PAST 30 YEARS I’VE WRITTEN 18 BOOKS on various programming topics. You might wonder, why so many…? Didn’t I get it right the fi rst time? Well, no, I didn’t…not really. When I wrote my fi rst book more than 30 years ago, object-oriented programming (OOP) was obscure at best and unknown to most. Like so many others, I had to go through the OOP learning process before I could appreciate what OOP was all about. I have a feeling that there are a lot of people out there who still feel that way. Each time I teach a programming class, I learn new...

    pdf0p hotmoingay3 09-01-2013 25 4   Download

  • Design rich Internet applications (RIAs) for the Web using Silverlight 2, Microsoft's hot runtime application. Available only as an ebook, this concise, easy-to-understand introduction provides complete step-by-step instructions for using everything Silverlight 2 has to offer, including tools for animation, vector graphics, video playback, .NET support for web services and networking, as well as LINQ, Microsoft's native data querying tool

    pdf193p trungtn3107 04-12-2009 157 121   Download

  • In this tutorial, you learn how to build model classes and perform database access by taking advantage of Microsoft LINQ to SQL In this tutorial, we build a basic Movie database application. We start by creating the Movie database application in the fastest and easiest way possible. We perform all of our data access directly from our controller actions. Next, you learn how to use the Repository pattern. Using the Repository pattern requires a little more work. However, the advantage of adopting this pattern is that it enables you to build applications that are adaptable to change and can...

    pdf12p trungtn3107 09-12-2009 536 104   Download

  • This book provides examples using the IQuery, ICriteria, QueryOver, and LINQ to NHibernate API’s within the context of an example Guitar Store inventory program. The reader is walked through the creation of a Microsoft SQL Server 2008 database, the creation of a Visual Studio 2010 solution consisting of 3 projects (a Window Presentation Foundation (WPF), a Console Application, and a Class Library). Each one utilizes the .NET 4.0 framework. Then the reader is walked through the steps required to configure and use the many features available contained within NHibernate 3.2.

    pdf62p trac2_123 11-04-2013 39 8   Download

  • Need fast, robust, efficient code solutions for Microsoft C# 4.0? This book delivers exactly what you’re looking for. You’ll find more than 200 solutions, best-practice techniques, and tested code samples for everything from classes to exceptions, networking to XML, LINQ to Silverlight. Completely up-to-date, this book fully reflects major language enhancements introduced with the new C# 4.0 and .NET 4.0. When time is of the essence, turn here first: Get answers you can trust and code you can use, right now!...

    pdf669p bookstore_1 10-01-2013 57 5   Download

  • You have spent the previous two chapters creating and exploring an Entity Data Model. Chapter 2 discussed the different ways an EDM can be created, and Chapter 3 explored the many facets of the EDM both internally and externally. It is now finally time to write some code. This chapter will discuss how to write queries against the EDM by using the LINQ-to-Entities syntax and the Entity SQL syntax, both provided by the Entity Framework

    pdf26p tengteng16 27-12-2011 51 4   Download

  • This book is about the parallel programming features of .NET 4, specifically the Task Parallel Library (TPL), Parallel LINQ, and the legion of support classes that make writing parallel programs with C# simpler and easier than ever before. With the widespread use of multiprocessor and multicore computers, parallel programming has gone mainstream. Or it would

    pdf329p trasua_123 02-01-2013 17 4   Download

  • EndGetContext method, HttpListener class, 493 EndGetHostEntry method, Dns class, 505 EndInvoke method, 155, 156, 355 EndPoint property, 876 endpoints, 510 EndPrint event, PrintDocument class, 401 Enter method, Monitor class, 172–173 entity classes, 471 entity types, performing LINQ query with, 471–473 entropy, 594 EntryPoint portion, DllImportAttribute class, 598 Enum class, 129 enumerable collection, implementing, 636–640 enumerable type, implementing using custom iterator, 640–647 Enumerable.

    pdf67p tengteng16 27-12-2011 27 3   Download

  • using System; using System.Linq; public class GroupExample { static void Main() { int[] numbers = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; // Partition numbers into odd and // even numbers. var query = from x in numbers group x by x % 2 into partition where partition.Key == 0 select new { Key = partition.Key, Count = partition.Count(), Group = partition }; foreach( var item in query ) { Console.WriteLine( "mod2 == {0}", item.Key ); Console.WriteLine( "Count == {0}", item.Count ); foreach( var number in item.Group ) { Console.Write( "{0}, ", number ); }...

    pdf59p tengteng16 27-12-2011 20 2   Download

  • CHAPTER 4 ■■■ Querying the EDM You have spent the previous two chapters creating and exploring an Entity Data Model. Chapter 2 discussed the different ways an EDM can be created, and Chapter 3 explored the many facets of the EDM both internally and externally. It is now finally time to write some code. This chapter will discuss how to write queries against the EDM by using the LINQ-to-Entities syntax and the Entity SQL syntax, both provided by the Entity Framework. This chapter will also discuss the difference between query syntax and method syntax and when you might use one over the...

    pdf26p tengteng17 03-01-2012 20 1   Download

Đồng bộ tài khoản