- 博客(1)
- 资源 (22)
- 收藏
- 关注
原创 [知识分享] LINQ TO SQL 实现无限递归查询
见论坛内有网友提问类似的问题已经不止一次了,现总结一下,希望能给以后再碰到此类问题的朋友一些帮助 --构造测试数据: 只作演示用CREATE TABLE [dbo].[Tim_LinqTable]([Id] int PRIMARY KEY IDENTITY(1,1) NOT NULL,[Name] [varchar](50) NOT NULL,[Parent] in
2012-07-02 13:59:53 17761 3
MVVM Demo for WPF
Introduction
Having helped alot of people on the MSDN Forum in the WPF section, I tend to see alot of people who fail to exploit the benefits of DataBinding in WPF, and not enough people are aware of the benefits of the MVVM pattern, which will be the main purpose of this lesson. To learn how to setup a basic MVVM pattern for an application.
What is MVVM ?
MVVM stands for :
•Model
•View
•ViewModel
Model - The model is an object model. In this case a class called Employee.
View - The view is the UI ( User Interface ), which creates a visualization of the objects in the ViewModel, in this case MainWindow.xaml
ViewModel - The ViewModel will be the layer in this application that handles all the logic and the Employee objects, this is the layer that the View will DataBind to.
2012-03-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人