ball.json 数据例如以下:{ "entities": [ { "entity": { "TapOpposite": 0, "Interval": 0.95, ...
                            
                            
                                分类:
Web程序   时间:
2014-06-19 06:00:59   
                                阅读次数:
260
                             
                    
                        
                            
                            
                                1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 委托复习 8 {.....
                            
                            
                                分类:
其他好文   时间:
2014-06-18 22:04:02   
                                阅读次数:
118
                             
                    
                        
                            
                            
                                wcf服务using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.ServiceModel;using System.Service...
                            
                            
                                分类:
其他好文   时间:
2014-06-18 19:06:34   
                                阅读次数:
222
                             
                    
                        
                            
                            
                                emdx文件解读:ssdl描述有什么表csdl描述有什么实体edmx:Mapping 映射关系 用EF实现简单的查询操作://Linq:【link】select * from UserInfo where Id();foreach (var u in dbContext.UserInfo){ if....
                            
                            
                                分类:
其他好文   时间:
2014-06-18 17:53:45   
                                阅读次数:
293
                             
                    
                        
                            
                            
                                第一步:事件总线和事件聚合器 【1】事件总线IEventBus IUnitOfWork.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading...
                            
                            
                                分类:
其他好文   时间:
2014-06-18 16:58:56   
                                阅读次数:
1005
                             
                    
                        
                            
                            
                                改写第一天的增删改查方法,观察增删改查的本质 1 using System; 2 using System.Collections.Generic; 3 using System.Data.Entity.Infrastructure; 4 using System.Linq; 5 using Sys...
                            
                            
                                分类:
其他好文   时间:
2014-06-17 00:30:26   
                                阅读次数:
272
                             
                    
                        
                            
                            
                                using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Sy...
                            
                            
                                分类:
其他好文   时间:
2014-06-16 14:22:40   
                                阅读次数:
281
                             
                    
                        
                            
                            
                                1 //从字符串数组中将长度小于5的元素返回;2 string[] values = { "tom", "stone", "mikejiekexun", "jim", "tigerwoods" };3 var e1 = from...
                            
                            
                                分类:
其他好文   时间:
2014-06-14 16:56:51   
                                阅读次数:
237
                             
                    
                        
                            
                            
                                下面的方法都是IEnumerable的扩展方法:Average计算平均值; Min最小元素;Max最大元素;Sum元素总和; Count元素数量;Concat连接两个序列;//Unoin allContains序列是否包含指定元素;Distinct取得序列中的非重复元素;Except获得两个序列的差...
                            
                            
                                分类:
其他好文   时间:
2014-06-14 15:24:23   
                                阅读次数:
429
                             
                    
                        
                            
                            
                                语言集成查询(LINQ)是 Visual Studio2008
中引入的一组功能。可为 C# 和 Visual Basic 语言语法提供强大的查询功能。 LINQ引入了标准易学的数据查询和更新模式,可以扩展该方法来支持任何类型的数据存储。 Visual Studio 包括 LINQ 提供程序集,后者支持将 LINQ 与.NET Framework 集合、SQL Server 数据库、ADO.NE...
                            
                            
                                分类:
其他好文   时间:
2014-06-14 15:03:51   
                                阅读次数:
249