
Linq to objects
-
With the release of .NET 3.5, the C# language has been enhanced to support a great number of new programming constructs, many of which are used to enable the LINQ API. This chapter, you will learn the role of implicit typing of local variables, partial methods, automatic properties, extension methods, anonymous types, and object initialization syntax.
67p
tangtuy20
28-07-2016
35
1
Download
-
In this chapter, you will learn about LINQ to Objects, which allows you to apply LINQ expressions to containers of data (arrays, collections, custom types). This information will serve you well when we examine how to apply LINQ expressions to relational databases (via LINQ to ADO) and XML documents.
45p
tangtuy20
28-07-2016
43
1
Download
-
Bài giảng Lập trình hướng đối tượng 2: Language Integrated Query (LINQ) gồm có những nội dung chính sau: Giới thiệu LINQ, LINQ to Object, LINQ to XML, LINQ to ADO.NET. Mời các bạn cùng tham khảo để nắm bắt các nội dung chi tiết.
30p
tangtuy16
02-07-2016
53
5
Download
-
Tài liệu "Hướng dẫn thực hành LINQ" giúp người học biết cách làm việc với LINQ, hiểu được Generic, hiểu được Implicitly Typed Variables, hiểu được Anonymous Types, Extension Methods, Lambda Expressions, hiểu được LinQ to Object và LinQ to SQL. Đây là tài liệu tham khảo hữu ích cho các bạn sinh viên ngành Công nghệ thông tin.
28p
kiepnaybinhyen_01
27-11-2015
124
26
Download
-
Mục tiêu của chương 7 Language Integrated Query (LINQ)nằm trong bài giảng Lập trình hướng đối tượng nhằm giới thiệu LINQ, LINQ to Object, LINQ to XML, LINQ to ADO. NET. Language Integrated Query (LINQ) là ngôn ngữ truy vấn hợp nhất trên các loại dữ liệu khác nhau.
30p
xuanlan_12
26-04-2014
148
22
Download
-
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...
705p
stingdau_123
26-01-2013
121
20
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...
0p
hotmoingay3
09-01-2013
73
4
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....
0p
trasua_123
29-12-2012
53
8
Download
-
LINQ is the project name for a set of extensions to the .NET Framework that provide a generic approach to querying data from different data sources. LINQ will premier in Visual Studio 2008, and will become the next must–have skill for .NET developers. For more information about LINQ, you can check out the author’s portal at
624p
possibletb
29-11-2012
78
18
Download
-
Vài tuần trước tôi bắt đầu viết loạt bài về LINQ to SQL. LINQ to SQL là một bộ khung (framework) có sẵn cho O/RM (object relational mapping) trong .NET 3.5, nó cho phép bạn dễ dàng mô hình hóa các CSDL quan hệ dùng các lớp .NET. Bạn có thể dùng các biểu thức LINQ để truy vấn CSDL, cũng như có thể cập nhật/thêm/xóa dữ liệu từ đó. Dưới đây là 7 phần đầu tiên của loạt bài này: Sử dụng LINQ to SQL (phần 1) Định nghĩa các lớp mô hình dữ liệu (phần 2) Truy vấn...
7p
huynhphongus
07-12-2011
131
22
Download
-
Thực thi các biểu thức SQL tùy biến (LINQ to SQL phần 8) Vài tuần trước tôi bắt đầu viết loạt bài về LINQ to SQL. LINQ to SQL là một bộ khung (framework) có sẵn cho O/RM (object relational mapping) trong .NET 3.5, nó cho phép bạn dễ dàng mô hình hóa các CSDL quan hệ dùng các lớp .NET. Bạn có thể dùng các biểu thức LINQ để truy vấn CSDL, cũng như có thể cập nhật/thêm/xóa dữ liệu từ đó. Dưới đây là 7 phần đầu tiên của loạt bài này...
8p
huynhphongus
07-12-2011
110
21
Download
-
Cập nhật dữ liệu dùng Stored Procedure (LINQ to SQL phần 7) Vài tuần trước tôi bắt đầu viết loạt bài về LINQ to SQL. LINQ to SQL là một bộ khung (framework) có sẵn cho O/RM (object relational mapping) trong .NET 3.5, nó cho phép bạn dễ dàng mô hình hóa các CSDL quan hệ dùng các lớp .NET. Bạn có thể dùng các biểu thức LINQ để truy vấn CSDL, cũng như có thể cập nhật/thêm/xóa dữ liệu từ đó. Dưới đây là 6 phần đầu tiên của loạt bài này: -Sử dụng LINQ to SQL (phần 1)...
18p
huynhphongus
07-12-2011
168
42
Download
-
LINQ to SQL là gì? LINQ to SQL là một phiên bản hiện thực hóa của O/RM (object relational mapping) có bên trong .NET Framework bản “Orcas” (nay là .NET 3.5), nó cho phép bạn mô hình hóa một cơ sở dữ liệu dùng các lớp .NET. Sau đó bạn có thể truy vấn cơ sở dữ liệu (CSDL) dùng LINQ, cũng như cập nhật/thêm/xóa dữ liệu từ đó. LINQ to SQL hỗ trợ đầy đủ transaction, view và các stored procedure (SP). Nó cũng cung cấp một cách dễ dàng để thêm khả năng kiểm tra tính hợp lệ...
6p
huynhphongus
07-12-2011
185
46
Download
-
In July 2008 Microsoft released the first version of the ADO.NET Entity Framework as part of the Visual Studio 2008 Service Pack 1 as well as the .NET Framework 3.5 Service Pack 1. At the time, Microsoft LINQ (Language Integrated Query) and LINQ to SQL had been out for a while and were gaining a lot of attention.
281p
tengteng6
26-11-2011
175
61
Download
-
LINQ là gì? Mô hình hóa CSDL bằng LINQ Ngôn ngữ mở rộng (Extension Language) Thao tác truy vấn CSDL với LINQ Hỏi đáp LINQ là tập hợp ngôn ngữ và các hàm API mở rộng, hỗ trợ thực hiện truy vấn SQL trực tiếp bằng ngôn ngữ lập trình trong .NET LINQ hỗ trợ nhiều dạng dữ liệu khác nhau: Object, XML, SQL, Datasets…
34p
viethung2512
28-09-2011
136
24
Download
-
LINQ to SQL là một phiên bản hiện thực hóa của O/RM (object relational mapping) có bên trong .NET Framework bản “Orcas” (nay là .NET 3.5), nó cho phép bạn mô hình hóa một cơ sở dữ liệu dùng các lớp .NET. Sau đó bạn có thể truy vấn cơ sở dữ liệu (CSDL) dùng LINQ, cũng như cập nhật/thêm/xóa dữ liệu từ đó. LINQ to SQL hỗ trợ đầy đủ transaction, view và các stored procedure (SP). Nó cũng cung cấp một cách dễ dàng để thêm khả năng kiểm tra tính hợp lệ của dữ liệu và các quy...
103p
harry77
26-01-2011
431
159
Download
-
Language Integrated Query (LINQ), as well as the C# 3.0 and VB 9.0 language extensions to support it, is the most import single new feature of Visual Studio 2008 and the .NET Framework 3.x. LINQ is Microsoft ’ s first attempt to define a universal query language for a diverse set of in - memory collections of generic objects, entities persisted in relational database tables, and element and attributes of XML documents or fragments, as well as a wide variety of other data types, such as RSS and Atom syndication feeds. Microsoft invested millions of dollars in Anders Hejlsberg...
676p
bachvi
27-09-2010
257
90
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.
331p
hungntdotcr
09-08-2010
216
91
Download
-
LINQ to SQL là một phiên bản hiện thực hóa của O/RM (object relational mapping) có bên trong .NET Framework bản “Orcas” (nay là .NET 3.5), nó cho phép bạn mô hình hóa một cơ sở dữ liệu dùng các lớp .NET. Sau đó bạn có thể truy vấn cơ sở dữ liệu (CSDL) dùng LINQ, cũng như cập nhật/thêm/xóa dữ liệu từ đó.
103p
ddchien
05-10-2009
1008
340
Download
-
In the previous chapter, I introduced you to LINQ. I provided some examples to whet your appetite, and shared some premature tips. You may be perplexed though by some of the syntax. If so, it is probably because the C# you witnessed in that chapter is new and improved. The reason for the C# language upgrade is that C# 2.0 just didn’t have the muscle to pull off LINQ. In this chapter, I introduce you to the more powerful C# 3.0.
626p
dreamlclove
21-08-2009
723
264
Download
CHỦ ĐỀ BẠN MUỐN TÌM
