现在有一个小需求就是对一个xml中的conditionusing System;using
System.Collections.Generic;using System.Linq;using System.Text;using
Microsoft.JScript;namespace TestX.....
分类:
其他好文 时间:
2014-06-16 07:12:36
阅读次数:
204
Swift 初见本页内容包括:简单值(Simple Values)控制流(Control
Flow)函数和闭包(Functions and Closures)对象和类(Objects and Classes)枚举和结构体(Enumerations
and Structures)接口和扩展(Proto...
分类:
其他好文 时间:
2014-06-16 06:21:56
阅读次数:
294
【Objects & Class】1、定义一个类。
上述代码中,numberOfSides是实例变量,simpleDescription也是实例方法。2、创建实例,使用实例。
3、init是构造函数,deinit是析构函数: 上图代码中使用self来引用成员变量是为了与局部变量name...
分类:
其他好文 时间:
2014-06-16 00:52:51
阅读次数:
171
引用就不说明,直接贴上:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.ServiceModel;using System.Configuration;usi...
分类:
其他好文 时间:
2014-06-15 22:17:25
阅读次数:
226
MyBatis 是支持普通 SQL查询,存储过程和高级映射的优秀持久层框架。MyBatis 消除了几乎所有的JDBC代码和参数的手工设置以及结果集的检索。MyBatis 使用简单的 XML或注解用于配置和原始映射,将接口和 Java 的POJOs(Plain Old Java Objects,普通的 Java对象)映射成数据库中的记录...
分类:
编程语言 时间:
2014-06-15 20:01:03
阅读次数:
299
1、infrom p in 信息where (new string[]
{"10","14"}).Contains(p.编码)select p2、not infrom p in 信息where !(new string[]
{"10","14"}).Contains(p.编码)select p
分类:
其他好文 时间:
2014-06-13 19:39:29
阅读次数:
251
LINQ to
SQL语句(1)之WhereWhere操作适用场景:实现过滤,查询等功能。说明:与SQL命令中的Where作用相似,都是起到范围限定也就是过滤作用的,而判断条件就是它后面所接的子句。Where操作包括3种形式,分别为简单形式、关系条件形式、First()形式。下面分别用实例举例下:1...
分类:
数据库 时间:
2014-06-13 19:04:32
阅读次数:
348
1 using System; 2 using
System.Collections.Generic; 3 using System.Linq; 4 using System.Collections; 5 6
namespace Demo1 7 { 8 class Program 9 ...
分类:
其他好文 时间:
2014-06-13 15:00:27
阅读次数:
241
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 6 namespace 委托实现事件1 7 { 8 class
Program 9 {1...
分类:
其他好文 时间:
2014-06-13 14:58:21
阅读次数:
208
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 6 namespace 委托练习 7 { 8 class Program
9 {10 ...
分类:
其他好文 时间:
2014-06-13 14:50:06
阅读次数:
244