原创 Linq篩選數據
<table style="font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', SimSun, 'Segoe UI', 'Lucida Grande', Verdana, Arial
原创 Refactoring Day 2 : Move Method
The refactoring today is pretty straightforward, although often overlooked
原创 VS調式技巧
這是我的博客中關於VS 2010和.NET 4發佈系列的第二十六篇文章。 今天的博文將介紹Visual Studio中的一些實用調試技巧。這是受我朋友Scott Cate (他發表過幾十篇很棒的VS技術文章) 啓發。他最近告訴我
原创 Linq的Set運算
LINQ 中的 Set 操作是指根據相同或不同集合(或集)中是否存在等效元素來生成結果集的查詢操作。 方法名 說明 C# 查詢表達式語法 Visual Basic 查詢表達式語法 更多信息 Distin
原创 Refactoring Day 4 : Push Down Method
Yesterday we looked at the pull up refactoring to move a method to a base
原创 Refactoring Day 1 封裝集合
Refactoring Day 1 : Encapsulate Collection In certain scenarios it is b
原创 Refactoring Day 3 : Pull Up Method
The Pull Up Method refactoring is the process of taking a method and “Pull
原创 Refactoring Day 7 : Rename (method, class, parameter)
This refactoring I use most often and is one of the most useful refactorin
原创 Listbox橫向顯示和dataTemplate
<Window x:Class="PhotoData.AddPhotosWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
原创 Refactoring Day 6 : Push Down Field
Opposite of the Pull Up Field refactoring is push down field. Again, this
原创 WPF DataGridComboBoxColumn的使用方法
1.添加2個命名空間 xmlns:core="clr-namespace:System;assembly=mscorlib" xmlns:local="clr-namespace:WpfApplicatio
原创 Select和selectMany
class Bouquet { public List<string> Flowers { get; set; } } static void SelectVsSelectMany() { List<Bouquet> b
原创 消息隊列
MSMQ要求服務契約上都是one-way的操作
原创 Command實現遙控器
public interface ICommand { void Execute(); } public class LightOnCommand:ICommand {
原创 DBLinq
用慣了Visual Studio 2008的LINQ to SQL,突然轉到使用Oracle,還真有些不適應,念代碼之悠悠,獨傖然而涕下呀。好在現在已有不少其他工具能夠支持LINQ to Oracle,那咱麼就試着想辦法將他們和Vi