摘要: public class Select_LINQ { public static string ContextString = System.Configuration.ConfigurationSettings.AppSettings["ContextString"].ToString(); public static void Print() { DataContext context = ... 阅读全文
posted @ 2010-04-17 21:14 CityWalker 阅读(281) 评论(0) 推荐(0) 编辑
摘要: LINQ标准查询操作符一、 概述  标准查询操作符是形成LINQ模式的一系列方法的集合,并通过各自的LINQ提供程序来实现,而LINQ模式则是创建查询表达式来投影、过滤、分组和转换数据的一种标准方式。标准查询操作符提供了查询任何实现了IEnumerable接口和IQueryable接口的对象的能力。二、标准查询操作符1. 投影操作符2. 限制操作符3. 排序操作符4. 联结操作符5. 分组操作符6... 阅读全文
posted @ 2010-04-06 19:35 CityWalker 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1. Thousand times no! 绝对办不到!2. Easy does it. 慢慢来。3. Don't push me. 别逼我。4. Have a good of it.玩的很高兴。5. What is the fuss? 吵什么?6. Still up? 还没睡呀?7. It doesn't make any differences. 没关系。8. Don't let me dow... 阅读全文
posted @ 2010-03-30 15:08 CityWalker 阅读(584) 评论(0) 推荐(0) 编辑
摘要: Factory Method (工厂方法) — 【面向对象设计模式学习】By CityWalker 2010年3月24日 IntentDefine an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class d... 阅读全文
posted @ 2010-03-24 15:05 CityWalker 阅读(491) 评论(0) 推荐(0) 编辑
摘要: Builder (建造者) — 【面向对象设计模式学习】By CityWalker 2010年3月19日IntentSeparate the construction of a complex object from its representation so that the same construction process can create different represe... 阅读全文
posted @ 2010-03-20 09:11 CityWalker 阅读(416) 评论(0) 推荐(0) 编辑
摘要: Etiquette is a set of rules that allow us to interact with others in a civilized manner, And treating other people with courtesy and respect and making them feel comfortable with you.Asking someone's ... 阅读全文
posted @ 2010-03-17 20:14 CityWalker 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Abstract Factory (抽象工厂) — 【面向对象设计模式学习】By CityWalker 2010年3月17日IntentProvide an interface for creating families of related or dependent objects without specifying their concrete classes.Applicabi... 阅读全文
posted @ 2010-03-17 15:34 CityWalker 阅读(448) 评论(0) 推荐(0) 编辑
摘要: Singleton (单例) — 【面向对象设计模式学习】By CityWalker 2010年3月16日Intenta)Ensure a class has only one instance, and provide a global point of access toit. b) Encapsulated “just-in-time initialization&r... 阅读全文
posted @ 2010-03-16 15:25 CityWalker 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 说明:  关于设计模式的文章网上已经很多了,本人也只是想参考别人的文章来系统地学习一下设计模式,因此,这个系列并不是一个系列教程,而仅仅是作为本人学习设计模式的一个学习笔记,此外,由于本人能力有限,其中难免有些错误,还请路过的各位不吝赐教!学习大纲:一、Creational patterns【创建型模式】  1. Singleton (单例)  2. Abstract Factory (抽象工厂)... 阅读全文
posted @ 2010-03-15 17:26 CityWalker 阅读(292) 评论(0) 推荐(0) 编辑
天天来