码迷,mamicode.com
首页 >  
搜索关键字:linq to entities    ( 7131个结果
一句话解释c#中的特性
自己闲着无聊写的,当然有些描述不是十分准确,毕竟一句话不能表达太多意思。委托:把方法当做参数进行传递。泛型:在类、方法中对使用的类型参数化。匿名方法:委托及调用委托的简化版。Lambda表达式:匿名方法的进一步进化。扩展方法:给现有类添加新的方法。LINQ: 将SQL方式的查询从数据库扩展到其它方面...
分类:其他好文   时间:2014-09-11 01:07:01    阅读次数:190
使用Linq求和方法Sum计算集合中多个元素和时应该注意的性能问题
提出问题 本文使用下面的实例来说明问题,以下是实例的完整代码。 //************************************************************ // // Sum应用示例代码 // // Author:三五月儿 // // Date:2014/09/10 // // http://bl...
分类:其他好文   时间:2014-09-10 23:58:51    阅读次数:516
linq in not in
1、not in:lstDown中的DownID属性值不在lstDownfb中的DownIDvar lstDown2 = (from d in lstDown where !(from d2 in lstDownfb select d2.DownID).Contains(d.DownID) sele...
分类:其他好文   时间:2014-09-10 17:31:20    阅读次数:144
技术收藏书签
1. DevExpress TreeList控件的复选框 2. Code First Entity Framework基本与最佳添加(add-create),删除(delete-remove),修改(update-modify)操作 3. linq to oracle读取数据到DataSet4. C...
分类:其他好文   时间:2014-09-10 17:15:10    阅读次数:176
Linq To XML
using unityEngine;using System.Collections;using System.Linq;using System.Xml.Linq;using System;public class XML {//static string xmlpath = Applicatio...
分类:其他好文   时间:2014-09-10 15:37:30    阅读次数:177
Linq批量删除数据
public void DeleteNews(List IDList) { using (ETCDataContext etcDataContext = this.EtcDataContext) { ...
分类:其他好文   时间:2014-09-10 15:33:10    阅读次数:191
车辆违章查询演示代码
车辆违章查询演示代码using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Text;using System.Threading.Tasks;namespace Co...
分类:其他好文   时间:2014-09-10 15:26:10    阅读次数:164
Sql->Linq-> Lambda 相互转换
Linq 转 SQL 或 Linq 转 Lambda :工具: LinqPadSql 转 Linq to Entity:工具: Linqer
分类:数据库   时间:2014-09-10 13:53:30    阅读次数:266
MVC5+EasyUI+EF6+Linq通用权限系统出炉--登录(2)
1.输入验证码后 自动识别验证码并登录。2.登录后,系统后台如下,多个主题切换。
分类:Web程序   时间:2014-09-09 22:44:19    阅读次数:637
水仙花 程序
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) ...
分类:其他好文   时间:2014-09-09 18:23:19    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!