码迷,mamicode.com
首页 >  
搜索关键字:linq to entity 多表联合    ( 11784个结果
启动WCF多个服务方法
引用就不说明,直接贴上:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.ServiceModel;using System.Configuration;usi...
分类:其他好文   时间:2014-06-15 22:17:25    阅读次数:226
List集合去重
今天看到别人的代码使用 Linq 的Distinct进行去重。发现有很多需要注意的地方。实现方式如下:Linq 的Distinct方法需要传递一个自己实现IEqualityComparer的类来作为比较器。 public static class EnumerableExtension ...
分类:其他好文   时间:2014-06-15 22:07:35    阅读次数:307
hibernate 的 CascadeType 属性
hibernateintegerstringfloatclassmerge@Entity@Table(name="orders")public class Order {//1-m,多的一方为关系维护端,关系维护端负责外键记录的更新,关系被维护端没有权利更新外键记录private String or...
分类:系统相关   时间:2014-06-15 21:31:17    阅读次数:315
Linq常用
1、左关联查询var lst = from m in db.信息 join d in db.明细信息 on m.单号 equals d.单号 into mi from dt in mi.DefaultIfEmpty() //dt标示右表 where m.单号 == "2014" && dt.编码.S...
分类:其他好文   时间:2014-06-15 21:09:49    阅读次数:189
EF快速开发定义数据接口类(转)
using System;using System.Linq;using System.Linq.Expressions;using System.Data.Objects;namespace HENANLUHENG.Framework.EntityRepository{ public interf...
分类:其他好文   时间:2014-06-15 19:53:41    阅读次数:283
crm2011创建自定义实体Entity
crm2011创建自定义实体Entity...
分类:其他好文   时间:2014-06-15 17:07:46    阅读次数:203
如何在cocos2d-x中使用ECS(实体-组件-系统)架构方法开发一个游戏?
基于cocos2d-x的Entity-Component-System游戏架构方法,避免传统面向对象开发模式中的各种问题!!!...
分类:其他好文   时间:2014-06-15 09:01:45    阅读次数:174
探寻ASP.NET MVC鲜为人知的奥秘(2):与Entity Framework配合,让异步贯穿始终
Why 在应用程序,尤其是互联网应用程序中,性能一直是很多大型网站的困扰,由于Web2.0时代的到来,人们更多的把应用程序从C/S结构迁移到B/S结构,这样会带来客户端轻量,部署、试试方便快捷等优势,但是万事万物都有他的两面性,这样的发展趋势同时也带来了其他方便的不好影响,其中很重要的一项就是系统对...
分类:Web程序   时间:2014-06-15 07:37:37    阅读次数:283
重温WCF之群聊天程序(十)
完成的效果图:服务器端代码:using System;using System.Collections.Generic;using System.Linq;using System.ServiceModel;using System.ServiceModel.Description;using Sy...
分类:其他好文   时间:2014-06-15 06:54:24    阅读次数:287
子窗体控制父窗体的内容
//父窗体using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.T...
分类:Windows程序   时间:2014-06-15 06:04:18    阅读次数:366
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!