码迷,mamicode.com
首页 >  
搜索关键字:linq to entities    ( 7131个结果
权限控制
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Wind...
分类:其他好文   时间:2014-08-29 00:05:46    阅读次数:326
Entity Framework 与 LINQ to SQL
Entity Framework和LINQ to SQL到底有什么区别?这是一个很常见的问题。下面的表中简要罗列了两种技术的主要区别。LINQ to SQLEntity Framework复杂度相对不复杂相对比较复杂模型域模型(Domain model)概念数据模型(Conceptual data ...
分类:数据库   时间:2014-08-28 22:35:36    阅读次数:277
NLog的使用
1 先安装NLog程序包 如上图 :2 建了一个调用的类 NLogHelper 内容如下:using System;using System.Collections.Generic;using System.Linq;using System.Web;using NLog;namespace Vid...
分类:其他好文   时间:2014-08-28 22:35:26    阅读次数:271
Linq 查询结果 可能遵循 2 º,2¹,2 ²,......增长计算
static void Main(string[] args) { int[] array = new int[] { 102, 12, 23, 412, 22, 14, 45, 65, 33 }; var obj = fro...
分类:其他好文   时间:2014-08-28 19:30:55    阅读次数:216
MVC4 + EF为Model添加单独的验证属性
可使用以下方式给Model加上相关的meta验证属性,这样实体的验证属性就不会被例如EF或其他工具自动生成的Model所替换了.using System.ComponentModel.DataAnnotations;namespace IDO.Entities { [MetadataType(typ...
分类:Web程序   时间:2014-08-28 14:44:19    阅读次数:161
输入字符串,判断每个字符串出现多少次
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace msdemo{ class Program { static void Main(stri...
分类:其他好文   时间:2014-08-28 13:08:09    阅读次数:237
asp.net 文件下载 文件名称乱码 处理~~
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.IO;using ElementLibrary.BLL; using ElementLibrary.MO...
分类:Web程序   时间:2014-08-28 12:54:09    阅读次数:211
asp.net 文件下载 解决文件名乱码
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.IO;using ElementLibrary.BLL;using ElementLibrary.MODEL;u...
分类:Web程序   时间:2014-08-28 12:50:49    阅读次数:283
asp.net + html页面来实现 ajax 示意——给初学者的参考
静态页面示意代码: ajax试验 一般处理程序示意代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace ajax测试1{ /// /...
分类:Web程序   时间:2014-08-28 09:40:09    阅读次数:236
HTML - HTML Commonly Used Character Entities
HTML Entities Some characters are reserved in HTML. It is not possible to use the less than () signs in your text, because the browser will mix them with tags. To actually display reserved characters, we must use character entities ...
分类:Web程序   时间:2014-08-27 18:54:08    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!