回到目录眾所周知,在linq to entity的查询语句中,不允许出现ef不能识别的关键字,如Trim,Substring,TotalDays等.net里的关键字,在EF查询里都是不被支持的,它的原因可能是为了更好的提高查询的性能吧,毕竟,好的性能取决于你的程序标准,有了一个严格的标准,才能设计出...
分类:
其他好文 时间:
2014-07-23 12:23:20
阅读次数:
350
今天上午主要在学习SqlServer、asp.net mvc和EF,学习mvc时感觉进展很慢,可能是asp.net mvc还是跟asp.netwebform有一点区别,打算明天下载一些网上开放的mvc案例来对照学习,改善一下学习效率。接触到EF时,感觉EF跟以前学习过的Linq To Sql有点类似...
分类:
其他好文 时间:
2014-07-23 12:17:16
阅读次数:
193
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Drawing;namespace WindowsFormsApplicati...
分类:
其他好文 时间:
2014-07-23 11:49:06
阅读次数:
199
using System;using System.Collections.Generic;using System.Linq;using System.Text;using WindowsFormsApplication3.Model;using WindowsFormsApplication3....
分类:
其他好文 时间:
2014-07-23 11:47:46
阅读次数:
160
工厂模式和简单工厂有什么区别。废话不多说,对比第一篇例子应该很清楚能看出来。优点: 工厂模式弥补了简单工厂模式中违背开放-封闭原则,又保持了封装对象创建过程的优点。using System;using System.Collections.Generic;using System.Linq;usin...
分类:
其他好文 时间:
2014-07-23 11:46:36
阅读次数:
188
using System;using System.Collections.Generic;using System.Linq;using System.Text;using WindowsFormsApplication3.Utility;using System.Drawing;using Sy...
分类:
其他好文 时间:
2014-07-23 11:45:26
阅读次数:
390
using System;using System.Collections.Generic;using System.Linq;using System.Text;using WindowsFormsApplication3.Model;using WindowsFormsApplication3....
分类:
其他好文 时间:
2014-07-23 11:45:06
阅读次数:
191
using System;using System.Collections.Generic;using System.Linq;using System.Text;using WindowsFormsApplication3.Enums;namespace WindowsFormsApplicati...
分类:
其他好文 时间:
2014-07-23 11:41:56
阅读次数:
215
using System;using System.Collections.Generic;using System.Linq;using System.Text;using WindowsFormsApplication3.DataStorge;using WindowsFormsApplicat...
分类:
其他好文 时间:
2014-07-23 11:40:56
阅读次数:
182
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:
其他好文 时间:
2014-07-23 11:39:46
阅读次数:
196