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
一,引用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
学习地址: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
学习地址: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
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生命周期 wcf与webapi的区别 restful api与webservice区别 线程池的理解 数组与链表 Redis存储类型及作用 sql与存储过程优缺点 linq关联查询 Dto对象映射转换 为什么使用ioc ####数据库 死锁 事务隔离 ####asp ...
分类:
Web程序 时间:
2020-07-11 00:07:31
阅读次数:
86
XML文档解析,使用Linq to Xml方式操作确实很方便,好东西值得推荐 Models.AjaxResult.BlastSearchResult blastSearchResult = new Models.AjaxResult.BlastSearchResult(); var rssXDoc ...
分类:
Web程序 时间:
2020-07-10 11:37:15
阅读次数:
61
当前页:<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
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
Entity Framework优缺点: 优点: 1.简洁的Linq to Sql语句大大提高了开发人员的效率,不要再写复杂的sql语 2.不再需要再管应用程序如何去连接数据库; 3.EF可以用作用于数据服务和Data Service的基础设施; 缺点: 1.由于linq语句编译之后就是sql,对于 ...
分类:
其他好文 时间:
2020-07-08 15:42:13
阅读次数:
59