码迷,mamicode.com
首页 >  
搜索关键字:linq to entities    ( 7131个结果
超级简单版多态计算器
个人笔记学习黑马四期一、编写一个操作父类using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 多态计算器{ .....
分类:其他好文   时间:2014-08-01 15:48:21    阅读次数:239
ADO.NET的介绍
名称空间 //提供了在.net数据访问中使用的类和接口名称空间说明System.Data所有数据访问泛型类System.Data.Common各个数据提供程序共享的类System.Data.EntityClientEntity Framework类System.Data。Linq.SqlClient...
分类:Web程序   时间:2014-08-01 15:41:01    阅读次数:324
ADO.net之2-连接数据库成功---ShinePans
数据库的配置: 连接字符串: server=潘尚\\SQLEXPRESS;database=db_test;Trusted_Connection=true 连接代码: using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq...
分类:数据库   时间:2014-08-01 10:55:21    阅读次数:236
LINQ Group By操作
在上篇文章 .NET应用程序与数据库交互的若干问题 这篇文章中,讨论了一个计算热门商圈的问题,现在在这里扩展一下,假设我们需要从两张表中统计出热门商圈,这两张表内容如下:上表是所有政区,商圈中的餐饮个数,名为FoodDistrict下表是所有政区,商圈中的SPA个数,名为SPADistrict现在要...
分类:其他好文   时间:2014-08-01 10:47:31    阅读次数:180
LINQ To SQL 语法及实例大全
LINQ to SQL语句(1)之WhereWhere操作适用场景:实现过滤,查询等功能。说明:与SQL命令中的Where作用相似,都是起到范围限定也就是过滤作用的,而判断条件就是它后面所接的子句。Where操作包括3种形式,分别为简单形式、关系条件形式、First()形式。下面分别用实例举例下:1...
分类:数据库   时间:2014-08-01 10:34:21    阅读次数:414
使用C# 实现文件锁
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:其他好文   时间:2014-08-01 09:10:21    阅读次数:233
重载运算符
========================================运算符重载-------------------------------------------------------------------------Vector.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConso..
分类:其他好文   时间:2014-08-01 00:13:21    阅读次数:260
无Border可移动窗体
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; ....
分类:移动开发   时间:2014-07-31 23:21:20    阅读次数:338
Winform Windows Media Player 简易播放器
新手上路,高手勿进! 窗体设计: 实现效果: 实现代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Tex...
分类:Windows程序   时间:2014-07-31 20:47:37    阅读次数:419
SharePoint的实体生成
生成Linq实体使用SPMetal工具生成Linq to SharePoint实体工具安装目录:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\SPMETAL.exe命令参数:cmd:cdC:\P...
分类:其他好文   时间:2014-07-31 20:26:47    阅读次数:310
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!