Fork me on GitHub
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页
摘要: 写WCF,VS需要一管理员身份呢启动,否则服务无法访问。model层using System;using System.Runtime.Serialization;namespace MyModel{ [DataContract] public class User { ... 阅读全文
posted @ 2014-09-07 11:17 lingfeng95 阅读(2987) 评论(7) 推荐(1) 编辑
摘要: USE [Role]GO/*Create a table*/IF OBJECT_ID ('dbo.Users', 'U') IS NOT NULL DROP TABLE UsersGOCREATE TABLE [dbo].[Users]( [ID] [int] IDENTITY(1,1)... 阅读全文
posted @ 2014-08-31 16:40 lingfeng95 阅读(882) 评论(0) 推荐(0) 编辑
摘要: C#中test测试地方法一、1、从NUnit官网(http://www.nunit.org/index.php)下载最新版本NUnit,当前版本为NUnit2.5.8。2、安装后,在VS2008中新建测试项目StartNUnit3、右击项目选择属性,在打开的窗口中选择调试。如图:4、选择启动外部程序... 阅读全文
posted @ 2014-08-21 00:52 lingfeng95 阅读(863) 评论(0) 推荐(0) 编辑
摘要: class IntroToLINQ{ static void Main() { // The Three Parts of a LINQ Query: // 1. Data source. int[] numbers = n... 阅读全文
posted @ 2014-08-21 00:36 lingfeng95 阅读(298) 评论(1) 推荐(1) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Data;using System.Configur... 阅读全文
posted @ 2014-08-20 00:44 lingfeng95 阅读(427) 评论(1) 推荐(1) 编辑
摘要: 转载地址:http://www.cnblogs.com/artech/archive/2007/02/26/656901.html http://www.cnblogs.com/MeteorSeed/archive/2012/04/24/2399455.html http://www.cnblogs 阅读全文
posted @ 2014-08-20 00:36 lingfeng95 阅读(1188) 评论(1) 推荐(2) 编辑
摘要: 详细解析Java中抽象类和接口的区别2007-9-28 论坛整理A+ 在Java语言中, abstract class 和interface 是支持抽象类定义的两种机制。正是由于这两种机制的存在,才赋予了Java强大的 面向对象能力。abstract class和interface之间在对于抽象类... 阅读全文
posted @ 2014-08-18 00:52 lingfeng95 阅读(225) 评论(1) 推荐(1) 编辑
摘要: 抽象基类与接口区别抽象基类与接口区别 联系 使用范围详解抽象基类与接口,共性与个性的选择C#中的抽象基类(Abstract Class)和接口(Interface)都实现了面向对象中的继承机制,它们通过定义抽象方法匀实现了对继承类的功能上的约束,那么在如何在恰当的场景选择恰当的继承机制是我们在设计中... 阅读全文
posted @ 2014-08-18 00:48 lingfeng95 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 数据库同步是一种比较常用的功能。以下结合我自己的体会整理的,如果有理解不完全或者有误的地方望大牛不理赐教。下面介绍的就是数据库同步的两种方式: 1、SQL JOB的方式 sql Job的方式同步数据库就是通过SQL语句,将一个数据源中的数据同步到目标数据库中。特点是它可以灵活的通过SQL的方... 阅读全文
posted @ 2014-08-17 00:58 lingfeng95 阅读(1945) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2014-08-17 00:43 lingfeng95 阅读(321) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页