码迷,mamicode.com
首页 >  
搜索关键字:linq to objects    ( 10076个结果
第一个MVC模式的程序
数据库是一个SQL sever数据库,结构很简单,创建名为firstMVC的数据库,只包含一个数据表(名称为Persons),其中共有三列,分别用于保存人员(persons)的ID、姓名以及创建日期:数据库信息:模型需要一个数据模型与数据库进行通信并处理数据。使用LINQ to SQL 从数据库检索...
分类:Web程序   时间:2014-06-29 00:33:23    阅读次数:296
linq查询一个字段的总和
(from s in dc.StockInItem //所要查询单表join si in dc.StockIn //联合的表on s.StockInID equals si.StockInID //两个表联合的相同条件where (s.ColorsID == int.Parse(co...
分类:其他好文   时间:2014-06-28 23:35:53    阅读次数:275
ServiceStack.Redis 之 IRedisTypedClient<第四篇>
IRedisTypedClient IRedisTypedClient类相当于IRedicClient的强类型版,其方法与属性大多数与IRedisClient类似。 它支持在Redis中使用Linq查询的强大的类,它本身是一个泛型,IRedisClient的泛型方法As获得对象。 其方法原型如...
分类:其他好文   时间:2014-06-18 13:38:23    阅读次数:326
多态override
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Sln0405 7 { 8 class Program 9 {1...
分类:其他好文   时间:2014-06-18 08:39:47    阅读次数:159
LeetCode OJ平台上Sort Colors题目算法探讨
原题如下,意思就是说无序数组(由0,1,2组成),一遍扫描,把数组整理成0,1,2这样的序列。 Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red,...
分类:其他好文   时间:2014-06-18 07:12:43    阅读次数:174
在SharePoint中使用LINQ
LINQ是一种有效且高效的查询数据的方法。使用SPMetal你可以准备SharePoint列表来查询。下面讲解在SharePoint中使用LINQ。...
分类:其他好文   时间:2014-06-17 23:23:11    阅读次数:215
UML的基础元件之架构元件(三)
Structural Things An active class is a class whose objects own one or more processes or threads and therefore can initiate control activity. An active class is just like a class except that it...
分类:其他好文   时间:2014-06-17 22:44:27    阅读次数:310
简单的加载 ztree
HTML页面: .csusing System;using System.Collections.Generic;using System.Data;using System.Linq;usin...
分类:其他好文   时间:2014-06-17 20:44:56    阅读次数:204
异常记录(写txt日志文件)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace WebBuild_CRM.Common{ public class Excep...
分类:其他好文   时间:2014-06-17 19:57:12    阅读次数:250
UML的基本图(二)
?? Both sequence diagrams and communication diagrams are kinds of interaction diagrams. An interaction diagram shows an interaction, consisting of a set of objects or roles, including the messages ...
分类:其他好文   时间:2014-06-17 19:15:04    阅读次数:186
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!