Browse by Tags
All Tags »
Orcas »
LINQ to Sql (
RSS)
DEV353: Data Access in Visual Studio 2008 - Slide Decks and Demos Earlier this week I presented at Tech Ed Israel 2008 . My session title was What's new around Data Access in Visual Studio 2008 , and I talked about the following topics: DataSets Enhancements in Visual Studio 2008 and .Net Framework 3.5 ( watch the screencast ) Adding a Service Reference to a service with DataSets as part of its operations signature The ability to separate between the DataSets project and the TableAdapters Project...
ADO.Net Data Services Feedback: DataContextServiceProvider Required for LINQ to SQL support After writing my previous posts about ADO.Net Data Services : ADO.Net Data Services Part 1 - Building a Simple Web Data Service ADO.Net Data Services Part 2 - Using Service Operations with WebGet ADO.Net Data Services Part 3 - Querying a Web Data Service and WebDataGen.exe I took a little time to write some logic that manipulates data on the client side and applies the changes back to the service. Starting...
ADO.Net Data Services Part 3 - Querying a Web Data Service and WebDataGen.exe This post is part of a series of posts about ADO.Net Data Services , a part of the ASP.Net 3.5 Extensions. In ADO.Net Data Services Part 1 - Building a Simple Web Data Service I had a step by step guide for building a simple web data service, that exposed resources as IQueryable properties of the DataContext . In ADO.Net Data Services Part 2 - Using Service Operations with WebGet I added some Service Operations to the Data...
LINQ to SQL Session @ Developer Academy 2 - Video is now Available On November 27th, 2007 I gave a session about LINQ to SQL at the Developer Academy 2 (The Israeli developers conference). You can download the presentation and video from My Presentations page. Although the presentation was given in Hebrew, you can benefit from the demos that were given in C#... Enjoy!
ADO.Net Data Services Part 2 - Using Service Operations with WebGet This post is part of a series of posts about ADO.Net Data Services , a part of the ASP.Net 3.5 Extensions. In ADO.Net Data Services Part 1 - Building a Simple Web Data Service I had a step by step guide for building a simple web data service, that exposed resources as IQueryable properties of the DataContext . I this post, I will add some Service Operations to the Data Service. 1. Open the Blog Data Service fService Operations rom...
LINQ to SQL Concurrency - ChangeConflictException Row not found or changed If we create a small model of the Northwind database, and we try to modify one of the customers (lets take ALFKI for example): NorthwindDataContext db = new NorthwindDataContext (); Customer alfki = db.Customers.Single(c => c.CustomerID == "ALFKI" ); alfki.City = "London" ; db.SubmitChanges(); We will see that the update command that is created by the run time is: UPDATE Customers...
LINQ to SQL: Table<T>.Detach Method Does Not Exist Moving from Visual Studio 2008 Beta 2 to Visual Studio 2008 RTM , I read about LINQ to SQL Breaking Changes from Visual Studio 2008 Beta 2 to RTM . From the document: Table<T>.Attach changed to throw an exception if attached entity has not been detached The designed purpose of Table<T>.Attach method is to let you make a DataContext aware of objects that are transferred from other tiers, usually through serialization/deserialization...
LINQ to SQL Breaking Changes from Visual Studio 2008 Beta 2 to RTM With the release of Visual Studio 2008 , there are some changes moving LINQ to SQL projects from Visual Studio 2008 Beta 2 to Visual Studio 2008 RTM. There was already writen by Dinesh Kulkarni , the PM of LINQ to SQL in this post , but now they are officially published in a complete document. Download it here . Enjoy!
C# 3.0, LINQ and LINQ to SQL Hands on Labs for Visual Studio 2008 RTM After the release of Visual Studio 2008 RTM, the Visual Studio 2008 Samples page on MSDN was update accordingly. You can find few Hands on Labs there that will help you practice the new language features: C# 3.0 Language Enhancements Hands On Lab LINQ Hands On Labs LINQ to SQL Hands on Lab Additionally, you can Download Visual Studio 2008 and .NET Framework 3.5 Training Kit for other new technologies around. Enjoy!
Visual Studio 2008 RTM Live and Kicking! Yesterday, after the announcement that Visual Studio 2008 RTM Is Available for MSDN Subscribers , I downloaded and installed it, following Scott Guthrie's Installation Suggestions . The installation ran over the night so I can't really tell how long it took, but as of this morning - Visual Studio 2008 RTM Live and Kicking! Enjoy!
See what's in the Training Kit for Visual Studio 2008 and .Net Framework 3.5, and get the links for downloading....
Commonly Used Types and Namespaces in .Net Framework 3.5 If you want to make sure you've read enough articles and blog posts about .Net Framework 3.5, or you just happen to have an empty wall in your office, download the Commonly Used Types and Namespaces in .Net Framework 3.5 poster. Enjoy!
Entity Data Model Designer - What came out of it in Visual Studio 2008 Back in March, the Data Programmability Team showed off with some New Data Tools in Visual Studio "Orcas" . Most interesting was the Future EDM Designer video by Noam Ben Ami. This video shows working with the Database Designer and dragging tables to the Entity Modeler in order to create entities, and later on shows how to refactor the entities and the mapping when the schema changes over time. For me, after giving a...
Linq to SQL Session @ Developer Academy 2 Over the last months I've been using Linq to SQL in Visual Studio 2008 through its various releases. In the next Developers Conference here in Israel - Developer Academy 2, I will be giving a session that's all about Linq to SQL. Next Generation Relational Data Access with LINQ to SQL In Visual Studio 2008, Microsoft brings Next Generation Data Access with LINQ to SQL , a part of the LINQ project. LINQ to SQL is designed to integrate relational data...
All About ObjectDumper Why do I need it for? In many demos, we print objects to the Console window. If the object is a very simple one, like: public class Vehicle { public string VehicleID { get ; set ; } public int Year { get ; set ; } public string Model { get ; set ; } } than it is very easy: Vehicle v = new Vehicle { VehicleID = "30-804-15" , Model = "Mazda 3" , Year = 2006 }; Console .WriteLine( "VehicleID = {0}, Model = {1}, Year = {2}" , v.VehicleID, v.Model,...
More Posts
Next page »