码迷,mamicode.com
首页 >  
搜索关键字:linq to entity 多表联合    ( 11784个结果
Lambda 表达式(C# 编程指南)
Lambda 表达式是一种可用于创建委托或表达式目录树类型的匿名函数。通过使用 lambda 表达式,可以写入可作为参数传递或作为函数调用值返回的本地函数。 Lambda 表达式对于编写 LINQ 查询表达式特别有用。若要创建 Lambda 表达式,需要在 Lambda 运算符 => 左侧指定输入参...
分类:其他好文   时间:2014-05-24 05:25:47    阅读次数:168
Loader for loading embedded assemblies z
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Reflection;using System.Runtime.InteropServices;namespace...
分类:其他好文   时间:2014-05-23 10:59:24    阅读次数:223
Mediator模式
参考资料《大话设计模式》Mediator(中介者)模式:使各个对象不需要显式的相互调用,从而使其耦合松散。using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ds_me...
分类:其他好文   时间:2014-05-23 10:13:17    阅读次数:331
多线程+缓存计算
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Management;using System.Threading.Tasks;namespace TaskT...
分类:编程语言   时间:2014-05-23 08:40:04    阅读次数:413
C#用SerialPort实现串口通讯
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 System.Tex...
分类:其他好文   时间:2014-05-22 12:36:05    阅读次数:243
关于Linq使用过程中遇见的一些小问题的总结
1 使用First()/FirstOrDefault()、Last()/LastOrDefault()方法返回序列中的第一个或者最后一个元素时,应该确保序列已经被正确排序。 int[] numbers = { 3, 1, 23, 10, 5, 12, 7, 2, 4}; int first = numbers.First(); //输出3 int firstOrdered = numbers.O...
分类:其他好文   时间:2014-05-22 07:35:10    阅读次数:196
职责链模式、桥接模式
参考资料《大话设计模式》职责链模式:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ds_chainofresponsibility{ class Progr...
分类:其他好文   时间:2014-05-20 12:52:03    阅读次数:328
SqlHelper 简单版
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.SqlClient;namespace AddressBook{...
分类:数据库   时间:2014-05-20 10:08:21    阅读次数:328
C#多线程的简单例子
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;//using System.Threading.Tasks;using System.I...
分类:编程语言   时间:2014-05-19 20:01:31    阅读次数:258
NuGet 无法连接到远程服务器-解决方法
一、Entity Framework以下简称EF安装EF4.3的步骤是首先安装VS扩展 NuGet,然后再使用NuGet安装EF程序包安装完NuGet就可以安装EF了,有两种方式可以安装EF:1.使用命令install-package EntityFramework -Pre但出现如下错误:2.使用...
分类:其他好文   时间:2014-05-19 17:20:00    阅读次数:6892
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!