摘要:        
借助老外写的一个扩展表达式的类,可以把上篇中的代码写得更优雅这是PredicateBuilder的源文件publicstaticclassPredicateBuilder...{publicstaticExpression<Func<T,bool>>True<T>()...{returnf=>true;}publicstaticExpression<...    阅读全文
        
            posted @ 2008-03-25 22:34
菩提树下的杨过
阅读(5622)
评论(6)
推荐(0)
        
        
            
        
        
摘要:        
老外写的一个不错的扩展表达式的文章,原文地址:http://www.albahari.com/nutshell/predicatebuilder.html Dynamically Composing Expression PredicatesSuppose you wanted to write a LINQ to SQL query that implemented a keyword-styl...    阅读全文
        
            posted @ 2008-03-25 22:16
菩提树下的杨过
阅读(944)
评论(2)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号