码迷,mamicode.com
首页 >  
搜索关键字:linq to entities    ( 7131个结果
linq查询DataTable中的某列去重数据
List<int> lstHashCode = (from d in dtEquipInfo.AsEnumerable() select d.Field<int>("hashcode")).Distinct().ToList(); 其中dtEquipInfo是一个带有hashcode列的DataTa ...
分类:其他好文   时间:2020-07-16 22:00:28    阅读次数:114
.netcore的微服务学习(二)--网关(gateway)之Ocelot学习
一,引用ocelot,本文测试16版本有BUG,只好使用15.0.7 二,startup的配置,很简单,就是注册和添加管道 using System; using System.Collections.Generic; using System.Linq; using System.Threadin ...
分类:Web程序   时间:2020-07-15 10:44:39    阅读次数:92
Revit 二次开发 族的练习
学习地址:https://www.bilibili.com/video/BV1mf4y1S72o?p=18 实例练习一(创建一个柱的族) using System; using System.Collections.Generic; using System.Linq; using System.T ...
分类:其他好文   时间:2020-07-12 16:24:00    阅读次数:82
Revit 二次开发 元素创建与修改练习
学习地址:https://www.bilibili.com/video/BV1mf4y1S72o?p=11 实例练习一 using System; using System.Collections.Generic; using System.Linq; using System.Text; usin ...
分类:其他好文   时间:2020-07-11 21:22:24    阅读次数:136
Linq to XML
using System.Xml.Linq 命名空间成员 XAttribute 表示一个xml元素的xml属性 <Student Id=123 /> XCData 表示XML文档中的CDATA部分 XComment 表示一个XML注释 <!--xxx --> XDeclaration表示一个XML文 ...
分类:其他好文   时间:2020-07-11 09:15:35    阅读次数:61
Asp.Net开发学习知识点整理
####基础知识点 asp.net生命周期 wcf与webapi的区别 restful api与webservice区别 线程池的理解 数组与链表 Redis存储类型及作用 sql与存储过程优缺点 linq关联查询 Dto对象映射转换 为什么使用ioc ####数据库 死锁 事务隔离 ####asp ...
分类:Web程序   时间:2020-07-11 00:07:31    阅读次数:86
.NET Linq TO XML 操作XML
XML文档解析,使用Linq to Xml方式操作确实很方便,好东西值得推荐 Models.AjaxResult.BlastSearchResult blastSearchResult = new Models.AjaxResult.BlastSearchResult(); var rssXDoc ...
分类:Web程序   时间:2020-07-10 11:37:15    阅读次数:61
Linq的分页
当前页:<span id="currentPage"></span> 总页数:<span id="totalPage"></span> 总条数:<span id="totalCount"></span> <input id="Button1" type="button" value="首页" onc ...
分类:其他好文   时间:2020-07-10 00:39:40    阅读次数:71
账单1.4 :NPOI +Excel Winform版
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
分类:Windows程序   时间:2020-07-08 21:29:45    阅读次数:100
Entity Framework
Entity Framework优缺点: 优点: 1.简洁的Linq to Sql语句大大提高了开发人员的效率,不要再写复杂的sql语 2.不再需要再管应用程序如何去连接数据库; 3.EF可以用作用于数据服务和Data Service的基础设施; 缺点: 1.由于linq语句编译之后就是sql,对于 ...
分类:其他好文   时间:2020-07-08 15:42:13    阅读次数:59
7131条   上一页 1 ... 9 10 11 12 13 ... 714 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!