码迷,mamicode.com
首页 >  
搜索关键字:linq to entities    ( 7131个结果
正弦波
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
分类:其他好文   时间:2019-04-18 10:56:36    阅读次数:159
Linq to SQL -- Insert、Update、Delete
Insert/Update/Delete操作 插入(Insert) 1.简单形式 说明:new一个对象,使用InsertOnSubmit方法将其加入到对应的集合中,使用SubmitChanges()提交到数据库。 语句描述:使用InsertOnSubmit方法将新客户添加到Customers 表对象 ...
分类:数据库   时间:2019-04-17 18:19:43    阅读次数:176
Linq to SQL -- Group By、Having和Exists、In、Any、All、Contains
Group By/Having操作符 适用场景:分组数据,为我们查找数据缩小范围。 说明:分配并返回对传入参数进行分组操作后的可枚举对象。分组;延迟 1.简单形式: 语句描述:使用Group By按CategoryID划分产品。 说明:from p in db.Products 表示从表中将产品对象 ...
分类:数据库   时间:2019-04-17 18:09:42    阅读次数:159
C#委托使用
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows程序   时间:2019-04-16 16:34:11    阅读次数:164
C#把汉字转换成16进制(HEX)并向串口发送数据
原文:C#把汉字转换成16进制(HEX)并向串口发送数据报警器实例:(有发送,无返回获取) 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using Sy... ...
分类:Windows程序   时间:2019-04-15 23:00:11    阅读次数:246
设计模式整理之简单工厂
具体实现代码:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;namespace 设计模式实例{ class Prog... ...
分类:其他好文   时间:2019-04-14 14:03:53    阅读次数:105
地图裁剪
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi ...
分类:其他好文   时间:2019-04-14 09:34:16    阅读次数:197
C# DataTable通过反射转实体类
usingSystem;usingSystem.Collections.Generic;usingSystem.Data;usingSystem.Linq;usingSystem.Text;namespaceMySqlHelper{publicstaticclassDataTableToModel{///<summary>///DataTable通过反射获取单个像///</sum
分类:Windows程序   时间:2019-04-12 19:30:58    阅读次数:477
(Entity Framework Core入门)一、EFCore简介
1.说明: 一种ORM(Object Relational Mapper),用于程序中的class类和数据库中的表互相之间进行建立映射关系 2.优势 1)生产力 2)支多种数据库 3)可以使用Linq 4)注重领域(Domain),而不是数据库 3.支持框架 1).NET Core2.X 2).NE ...
分类:其他好文   时间:2019-04-10 00:46:00    阅读次数:155
C#自定义集合类和实现索引符c#基础学习
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 using System.Collect... ...
分类:Windows程序   时间:2019-04-08 13:47:14    阅读次数:165
7131条   上一页 1 ... 55 56 57 58 59 ... 714 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!