呵呵呵呵```csharpusing System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using ...
分类:
其他好文 时间:
2014-05-26 22:58:46
阅读次数:
352
LINQ是新生事物,不过从不少文章和讨论上看来,这方面的概念也已经有点混沌不清了。因此我们经常可以看到这样的话:LINQ只能将数据表与实体属性一一对应……LINQ开发指南:在LINQ中进行数据库字段映射……以上两句话其实说的都是LINQ
to SQL而不是指LINQ。可能由于LINQ to SQL的...
分类:
数据库 时间:
2014-05-26 22:21:18
阅读次数:
383
using System;using
System.Collections.Concurrent;using System.Collections.Generic;using
System.Diagnostics.Contracts;using System.IO;using System.Linq...
分类:
其他好文 时间:
2014-05-26 16:20:34
阅读次数:
269
要点:1. 2Custmer.cs 1 using
Iesi.Collections.Generic; 2 using System; 3 using System.Linq; 4 using
System.Text; 5 6 namespace Model 7 { 8 p...
分类:
系统相关 时间:
2014-05-26 11:53:27
阅读次数:
302
ObjectContext 并没有提供 LINQ to SQL DataContext.Log
这样的功能,要查看实际生成的 T-SQL 语句,要么借助 SQL Server Sql Profiler 这样的工具,要么使用
ObjectQuery.ToTraceString() 方法。using (...
分类:
数据库 时间:
2014-05-26 11:24:15
阅读次数:
270
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 using System.Data.SqlClient; 6 using
System.Dat...
分类:
数据库 时间:
2014-05-26 10:21:48
阅读次数:
247
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 using System.Threading; 6 using
System.Runtime.Remoti....
分类:
编程语言 时间:
2014-05-26 09:07:50
阅读次数:
270
dapper获取集合实体
///
/// 获取表tb_sys_zhuowei全部数据
///
public IEnumerable SelectAll_tb_sys_zhuowei()
{
using (IDbConnection conn = OpenConnection())
...
分类:
移动开发 时间:
2014-05-22 17:34:19
阅读次数:
387
语言集成查询 (LINQ) 是 Visual Studio 2008 和 .NET
Framework 3.5 版中一项突破性的创新,它在对象领域和数据领域之间架起了一座桥梁。
传统上,针对数据的查询都是以简单的字符串表示,而没有编译时类型检查或 IntelliSense 支持。此外,您还必须针对以...
分类:
其他好文 时间:
2014-05-22 14:51:52
阅读次数:
323