自己闲着无聊写的,当然有些描述不是十分准确,毕竟一句话不能表达太多意思。委托:把方法当做参数进行传递。泛型:在类、方法中对使用的类型参数化。匿名方法:委托及调用委托的简化版。Lambda表达式:匿名方法的进一步进化。扩展方法:给现有类添加新的方法。LINQ: 将SQL方式的查询从数据库扩展到其它方面...
分类:
其他好文 时间:
2014-09-11 01:07:01
阅读次数:
190
提出问题
本文使用下面的实例来说明问题,以下是实例的完整代码。
//************************************************************
//
// Sum应用示例代码
//
// Author:三五月儿
//
// Date:2014/09/10
//
// http://bl...
分类:
其他好文 时间:
2014-09-10 23:58:51
阅读次数:
516
1、not in:lstDown中的DownID属性值不在lstDownfb中的DownIDvar lstDown2 = (from d in lstDown where !(from d2 in lstDownfb select d2.DownID).Contains(d.DownID) sele...
分类:
其他好文 时间:
2014-09-10 17:31:20
阅读次数:
144
1. DevExpress TreeList控件的复选框 2. Code First Entity Framework基本与最佳添加(add-create),删除(delete-remove),修改(update-modify)操作 3. linq to oracle读取数据到DataSet4. C...
分类:
其他好文 时间:
2014-09-10 17:15:10
阅读次数:
176
using unityEngine;using System.Collections;using System.Linq;using System.Xml.Linq;using System;public class XML {//static string xmlpath = Applicatio...
分类:
其他好文 时间:
2014-09-10 15:37:30
阅读次数:
177
public void DeleteNews(List IDList) { using (ETCDataContext etcDataContext = this.EtcDataContext) { ...
分类:
其他好文 时间:
2014-09-10 15:33:10
阅读次数:
191
车辆违章查询演示代码using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Text;using System.Threading.Tasks;namespace Co...
分类:
其他好文 时间:
2014-09-10 15:26:10
阅读次数:
164
Linq 转 SQL 或 Linq 转 Lambda :工具: LinqPadSql 转 Linq to Entity:工具: Linqer
分类:
数据库 时间:
2014-09-10 13:53:30
阅读次数:
266
1.输入验证码后 自动识别验证码并登录。2.登录后,系统后台如下,多个主题切换。
分类:
Web程序 时间:
2014-09-09 22:44:19
阅读次数:
637
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
...
分类:
其他好文 时间:
2014-09-09 18:23:19
阅读次数:
154