江南白衣

陌上發花,可以緩緩醉矣
忍把浮名,換了淺斟低唱
我不是聖賢豪士,我衹有一腔熱血
posts - 107, comments - 428, trackbacks - 14, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

公告

LINQ to SQL N-tier Smart Client

Posted on 2008-05-12 00:02 江南白衣 阅读(...) 评论(...) 编辑 收藏
LINQ to SQL N-tier Smart Client
This sample shows you one way to build an n-tier application using LINQ to SQL classes and a disconnected DataContext.

There's some really good information in the MSDN Library on how to set up LINQ to SQL in distributed applications. There are a variety of ways to handle LINQ to SQL in these scenarios as the library shows. In this sample I show the most common scenarios to get this to work with a remote .NET Windows smart client (WPF coming soon!).

Read the detailed articles on how I built this sample here:

Part 1 Building the Middle-Tier

Part 2 Building the Client

Part 3 Database Transactions

Download the code!.