文章分类 -  .net

摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ClassLibrary1{ public class Test { public str... 阅读全文
posted @ 2014-08-22 15:38 feimon 阅读(89) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ClassLibrary1{ public class Class1 { /// ... 阅读全文
posted @ 2014-08-22 13:47 feimon 阅读(358) 评论(0) 推荐(0)
摘要:答:接口可以继承接口。抽象类可以实现(implements)接口,抽象类是否可继承实体类,但前提是实体类必须有明确的构造函数。(验证并不需要有明确构造函数啊)using System;using System.Collections.Generic;using System.Linq;using S... 阅读全文
posted @ 2014-08-19 15:55 feimon 阅读(3405) 评论(0) 推荐(0)
摘要:声明方法的存在而不去实现它的类被叫做抽象类(abstractclass),它用于要创建一个体现某些基本行为的类,并为该类声明方法,但不能在该类中实现该类的情况。不能创建abstract类的实例。然而可以创建一个变量,其类型是一个抽象类,并让它指向具体子类的一个实例。不能有抽象构造函数或抽象静态方法。... 阅读全文
posted @ 2014-08-19 15:47 feimon 阅读(142) 评论(0) 推荐(0)
摘要:@echo offset t=%date:~0,10%xcopy /y /h /e "D:\webapp\MM2" "E:\webback\MM2\%t:/=-%\"xcopy /y /h /e "D:\webapp\PM" "E:\webback\PM\%t:/=-%\"xcopy /y /h /... 阅读全文
posted @ 2014-08-07 10:53 feimon 阅读(106) 评论(0) 推荐(0)
摘要:http://www.jetbrains.com/resharper/uninstall/resharper.jsp?ProductVersion=7.0.1098.2760&InstalledVsVersions=10.0 阅读全文
posted @ 2014-08-06 09:33 feimon 阅读(73) 评论(0) 推荐(0)
摘要:首先下载UNITY WED 和BLL项目引入Microsoft.Practices.Unity.DLL 和Microsoft.Practices.Unity.Configuration.DLL项目架构App.config 配置如下typeAlias节点是给不太容易识记的类型名起一个别名(似乎有点废话... 阅读全文
posted @ 2014-07-25 17:17 feimon 阅读(174) 评论(0) 推荐(0)
摘要:/// /// 更新项目信息 /// /// 项目实体 /// 日志实体 /// 系统默认项目状态文本 /// 业务逻辑更新成功返回True,否则返回False public bool Sal... 阅读全文
posted @ 2014-07-25 15:12 feimon 阅读(115) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Collections;namespace{ public class BasePage : System... 阅读全文
posted @ 2014-07-25 15:09 feimon 阅读(236) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.SqlClient;using System.Collectio... 阅读全文
posted @ 2014-07-25 15:07 feimon 阅读(91) 评论(0) 推荐(0)
摘要:using System.Reflection;public static ITest CreateInfo(){return (ITest)Assembly.Load("SqlserverDAL").CreateInstance("SqlserverDAL.Test");}//SqlserverD... 阅读全文
posted @ 2014-07-25 14:59 feimon 阅读(48) 评论(0) 推荐(0)