码迷,mamicode.com
首页 >  
搜索关键字:linq to entities    ( 7131个结果
企业级应用框架(二)三层架构之数据访问层的封装与抽象
接上一篇我们来对数据访问层进行封装与抽象。在上一篇我们知道,要解除BLL对DAL的依赖,我们就必须抽象出DAL层的接口,同时基于DAL的数据访问技术很多,如EF,ADO.NET,LINQ TO SQL,因此,我们的数据访问层必须对这些技术提供相应的支持。所以今天我们要做的事情有两件,第一,定义我.....
分类:其他好文   时间:2014-06-27 22:44:05    阅读次数:394
C# 汉字转拼音
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Common 7 { 8 //Author:GaoBin...
分类:其他好文   时间:2014-06-27 20:20:08    阅读次数:362
WPF 任务栏图标闪烁提醒
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Runtime.InteropServices; 5 using System.Text; 6 using S...
分类:其他好文   时间:2014-06-27 19:55:57    阅读次数:367
user32.dll
1 user32.dll中的所有函数 2 3 4 5 6 using System; 7 using System.Collections.Generic; 8 using System.Linq; 9 using System.Text; ...
分类:其他好文   时间:2014-06-27 19:41:08    阅读次数:213
C#数组的排序(正序逆序)
C#数组的排序(正序逆序) 这种排序 超级简单的 !using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication4{ class P...
分类:其他好文   时间:2014-06-26 16:13:39    阅读次数:195
ILGenerator.Emit动态 MSIL编程(三)之动态代理
using System; using System.Linq; using System.Reflection; using System.Reflection.Emit; public sealed class DynamicProxy { pri...
分类:其他好文   时间:2014-06-26 13:08:59    阅读次数:185
iTextSharp 读出,写入
版本为5.1.2using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Sys...
分类:其他好文   时间:2014-06-25 15:13:27    阅读次数:207
.net之特性(Attribute)
看了一些关于这方面的文档,自我总结: 特性(Attribute)就是对一个方法或类做的一个额外的属性说明,也就是附加说明下面是我自己抄的一个实例程序:using System;using System.Collections.Generic;using System.Linq;using Syst....
分类:Web程序   时间:2014-06-25 14:18:02    阅读次数:161
C#发送邮件
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Mail;namespace SendMessage{ class SendEmail {...
分类:其他好文   时间:2014-06-25 12:04:19    阅读次数:251
18 如何从一个数组中移除重复的元素
两种方法 (1) 使用LINQ (2) 使用List static void RemoveDups(string[] myStringArray) { // LINQ string[] str = myStringArray.Distinct().ToArray(); ...
分类:其他好文   时间:2014-06-25 00:00:39    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!