摘要: 轉:Newcomers to LINQ often find expression trees difficult to grasp. In this post I hope to show that the subject is not quite as difficult as it might appear at first. Any reader who has an intermediate level understanding of LINQ should find the material in this post easy to grasp.An expression tre 阅读全文
posted @ 2013-10-23 11:52 TerryChan 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 一直对执行计划中Index的'Table Scan','Index Seek','Index Scan','Clustered Index Scan','Clustered Index Seek'理解的不是很清楚.于是建立了个实际的表,插入了数据.做做实验。CREATE TABLE [dbo].[PerformanceIssue]( [PRID] [uniqueidentifier] NOT NULL, [PRCode] [int] NOT NULL, [PRDesc] [varchar](100) COLLATE 阅读全文
posted @ 2013-10-11 14:37 TerryChan 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Base class 是abstract class 1.對如下Inherited class代碼 abc()不可以加override修飾符,但可以加new或者不加new(效果是一樣,都不會覆蓋Base class 的方法abc). public abstract class ITestA { //1. public abstract void abc(); public void abc() { Console.Write("ITestA....."); } } public class TestA : ITestA { #regi... 阅读全文
posted @ 2013-10-08 17:27 TerryChan 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 宗宁:给你求职的21条忠告 标签: 领域 面试 规划 人才 录取2013-09-29 11:29 阅读(?)评论(0)编辑删除结尾会有彩蛋1、面试之前你要确定一件事情,大部分情况下你并不是一个人才。2、鉴于你对企业的用处过于轻微可以忽略不计,所以务必做到服装整洁正式,态度诚恳,起码让别人看到你心情愉悦。3、不要穿旅游鞋或者牛仔裤面试,如果主考比你穿得还正式,那么你就是对他的亵渎。4、不要觉得可以靠本事吃饭,除非你在这个领域比同龄人优秀两倍以上,比领域内一般人才优秀一倍以上。5、再你没有让人眼前一亮的能力的前提下,你的长相、关系、甚至体重可能会成为是否录取你的主要参考标准。同样垃圾的情况下,.. 阅读全文
posted @ 2013-09-30 13:32 TerryChan 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Earlier this week, Cédric blogged about how easy we can get confused between a covering index and a full index scan in the EXPLAIN output. While a covering index (seen with EXPLAIN as Extra: Using index) is a very interesting performance optimization, a full index scan (type: index) is accordin 阅读全文
posted @ 2013-09-25 11:39 TerryChan 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Serialization (known as pickling in python) is an easy way to convert an object to a binary representation that can then be e.g. written to disk or sent over a wire.It's useful e.g. for easy saving of settings to a file.You can serialize your own classes if you mark them with [Serializable] attr 阅读全文
posted @ 2013-09-24 17:51 TerryChan 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Multithreading in the .NET FrameworkAll .NET Framework applications are created with a single thread, which is used to execute the application. In smart client applications, this thread creates and manages the user interface (UI) and is called the UI thread.You can use the UI thread for all processi 阅读全文
posted @ 2013-09-23 10:25 TerryChan 阅读(233) 评论(0) 推荐(1) 编辑