473,657 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where is System.Linq

Dear all,

I try to type using system.linq in Visual studio 2005. But
it complains that no namespace
of System.ling is found. Maybe I need to add reference to System.linq.
How can I add System.Linq Namespace in Visual Studio 2005 Csharp.
Thanks.
Jun 27 '08 #1
4 10219
You will need VS 2008 and .Net 3.5 for Linq.

"hon123456" wrote:
Dear all,

I try to type using system.linq in Visual studio 2005. But
it complains that no namespace
of System.ling is found. Maybe I need to add reference to System.linq.
How can I add System.Linq Namespace in Visual Studio 2005 Csharp.
Thanks.
Jun 27 '08 #2
Yes, its only in 3.x of the framework. If you upgrade to visual studio 2008
you will get this automatically.

"Family Tree Mike" <Fa************ @discussions.mi crosoft.comwrot e in
message news:EE******** *************** ***********@mic rosoft.com...
You will need VS 2008 and .Net 3.5 for Linq.

"hon123456" wrote:
>Dear all,

I try to type using system.linq in Visual studio 2005. But
it complains that no namespace
of System.ling is found. Maybe I need to add reference to System.linq.
How can I add System.Linq Namespace in Visual Studio 2005 Csharp.
Thanks.

Jun 27 '08 #3
I try to type using system.linq in Visual studio 2005. But
it complains that no namespace
of System.ling is found. Maybe I need to add reference to System.linq.
How can I add System.Linq Namespace in Visual Studio 2005 Csharp.
You can get System.Core.dll and System.Data.Lin q.dll from Mono (
http://go-mono.com)
and add them to your project.

Andrus.
Jun 27 '08 #4
Andrus wrote:
> I try to type using system.linq in Visual studio 2005. But
it complains that no namespace
of System.ling is found. Maybe I need to add reference to System.linq.
How can I add System.Linq Namespace in Visual Studio 2005 Csharp.

You can get System.Core.dll and System.Data.Lin q.dll from Mono (
http://go-mono.com)
and add them to your project.
My understanding was that Mono 1.9/2.0 only supported
LINQ for objects and XML not for database and that LINQ
for database is scheduled for Mono 2.2 around Christmas.

They have LINQ for database now ?

Arne
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
16384
by: Marc Gravell | last post by:
In Linq, you can apparently get a meaningful body from and expression's .ToString(); random question - does anybody know if linq also includes a parser? It just seemed it might be a handy way to write a safe but easy implementation (i.e. no codedom) for an IBindingListView.Filter (by compiling to a Predicate<T>). Anybody know if this is possible at all? Marc
14
21760
by: Ralf Rottmann \(www.24100.net\) | last post by:
I recently stumbled across a pretty interesting LINQ to SQL question and wonder, whether anybody might have an answer. (I'm doing quite some increasing LINQ evangelism down here in Germany.). Assume I want to select rows from a database and check whether a specific column contains keywords from a list of keywords. The following works just fine: List<stringsearchTerms = new List<string>() { "Maria", "Pedro" };
6
15553
by: hon123456 | last post by:
Why does the compiler say that 'Linq' does not exist in the 'System' namespace when specifying a using statement as follows: using System.Linq; ----
24
3804
by: luowan | last post by:
Hi I am currently building an application on .NetCF 3.5 in C#. The application needs to process xml files. I am thinking about using LINQ to process XML. I wrote a piece of code to modify the specified element's value. XmlReaderSettings settings = new XmlReaderSettings();
4
4475
by: =?Utf-8?B?Tmljaw==?= | last post by:
Hello, I'm using LINQ to access a SQL Server database. The user needs to be able to duplicate a record. Is there an easy way to do this? I rather not have to set each property from one to the other. I need to copy all the relationships too. Thanks for any help, I really appreciate it. Thanks,
9
2499
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
Hi all: after reading different places/sites about linq... I ran into these questions: 1. What framework do we need to run linq ? (does it depend on what version of visual studio we have?) how about vs2008? is it different name space or framework for linq xml or linq sql? ( 2. do we need to have references to what linq's dlls. or namespaces? system core? 3. what name spaces are needed?
21
4351
by: hrishy | last post by:
Hi Will LINQ be ported to Python ? regards Hrishy
2
3515
by: Colin Han | last post by:
Hi, all, If I write follow code in c# method. The IDE will compile it to a complex construct method of System.Linq.Expression. Expression<Func<int>ex = () =10; will be compile to: Expression<Func<int>ex = Expression.Lambda<Func<int>(Expression.Literal(10)) It is so smart. I can travel in this expression tree. I can do some smart abilities on this design. Now, I want write a console application. If user input follow string from console,...
0
25442
Curtis Rutland
by: Curtis Rutland | last post by:
This isn't a full-blown article, just a quickie. But I couldn't pass up the opportunity to share this insight with people, because it made my coding life sooooooo much easier. http://www.albahari.com/nutshell/predicatebuilder.aspx Its usefulness is situational, but I found it most valuable when I was building a searching application. I had no idea which parameters a user might include in their search. I didn't want to string-build a...
0
8395
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6166
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.