I'm getting started on Linq to Entities and the example references a namespace called System.Data.Objects. My environment doesn't include this namespace and I can't find the DLL that contains it. Anywone know where I'd find it?
Never mind. It appears to be part of the core framework. The tutorial I'm working from is from Microsoft so it isn't very clear... :-)
If you have created a Website targetting .Net 3.5 [assuming you have 3.5 SP1 installed] then you have the support for ADO.NET Entity Framework in your Project. You can add an Entity model from Add New Item dialog. This means that your Project has a reference to System.Data and exposes the System.Data.Objects namespace. There's no case why it should not happen.
This namespace is very essential in developing applications with ADO.NET Entity Framework, since it provides you the Objects that can handle Entities , Entity Queries and Query Results.
For ex:
If you want to store all the Customers result-set returned by a Qry or Expression, then you can use following syntax to do so..
ObjectResult<Customer> _Resultset = ctx.Customers;
Likewise you can use ObjectQuery to store Entity Queries.
You can refer to following link in order to learn more about this.
Thanks,
Ruchit S.