- 博客(13)
- 资源 (5)
- 收藏
- 关注
原创 敏捷开发的原则
<br />一:单一职责原则(The Single Responsibility Principal)SRP<br />就是说尽量的单一化类的功能,不要使类具有多个功能。<br />如果类具有多个功能时,任意一个功能的修改都需要改写这个类,也就会影响其他的类,而这些类根本没有使用修改的这个功能。如果单一化功能,这种情况就可以避免。<br />例如对一个足球联赛,可以编写两个类,一个类记录球队的比赛信息,另一个类来计算球队的排名。<br />如果原先赢得两分,平一分,输零分,这时通过排名类计算了一个排名。现在
2010-06-26 18:00:00 508
原创 选择每个订单的每种费用的数目,每行纪录为一个订单信息
ordertableorderid ordername 1 name1 2 name2 feetypefeeid feetype 1 fee1 2 fee2 accountTableamountid amount orderid
2010-05-20 14:42:00 517
原创 sql 如何计算总数,比值等问题
状况说明:表一:FTU_SimFTUID SIMNO SIMNumber87654321 1 1375547962087654321 2 13984752145表二:MOSid mobile updata mosvalue 313755479620200
2010-05-20 13:48:00 5371
原创 关于group by 与 聚集函数
表结构:NAME TYPE operationIDming 1 2bai 1 2yu 1 1 语法:select name,count(type)from test1group by name 聚集函数一般指sum,count,avg
2010-05-20 11:58:00 639
原创 左连接与右连接以及查询时的条件
1:表结构 test1 test2id name id temp1 bai 1 ming2 bai 2 jie3 mi
2010-05-20 11:56:00 1279
原创 sql 表操作
创建一个表create table test2(id int,username varchar(50),entertime datetime,primary key (id),Foreign Key (username) references test1(name))对表的各种操作:1:加列alter table test2 add secondname varchar(1
2010-05-20 11:51:00 364
原创 sql 临时表
在sql server中创建临时表的方法,表结构id name0 ming1 jie2 bai3 lin4 meng5 xiao6 shu7 lan8 tian9 bai10 yunselect id,name into temptable from test1 where id 这样将产生一张临时表tempt
2010-05-20 11:50:00 314
原创 C#中使用ManagementClass获取本机信息
C#提供 ManagementClass来对机器的信息进行管理,可以通过设定不同的管理类来获得机器的基本信息。下面给出了一些基本的信息的获取方法,包括获取CPU数目,cpu频率,内存大小,硬盘大小。 private void GetLocalInfo() { string cpuCount; string hdSize;
2010-05-20 11:49:00 1480
原创 c#中使用委托
对于委托的定义,我的理解就是封装一类型的方法,然后根据传递进的参数,由系统来进行选择调用。 申明:delegate void voidOperation(uint x)这申明了一个委托,与这个委托匹配的方法格式为:不返回任何结果,参数。delegate int intOperation(int x,int y)申明一个委托,与这个委托匹配的方法格式为:返回一个整数,需要传入
2010-05-20 11:44:00 355
原创 something about thread(c#)
thread is very importment element in our project,when we want to manage two or more things ,we can use thread to manage,one thread manage one thing,thats we ususlly say Multithreading progra
2007-10-15 22:14:00 664
原创 something about deal with string
in our project,we have to spend a lot of care on deal with string.now ,i want to say some method in string class in c#. in c# ,string provide remove,substring,insert method to t
2007-10-13 16:37:00 405
原创 how to construct xml structure
ok,xml has a complex structure,but we also can said xml has a simple structure.so ,the importance thing is how to design.like a this example:1 5910001参考名称设备所属地市安装的场景0
2007-09-30 14:42:00 567
原创 something about XmlSerializer
This week ,i research something about XmlSerializer. now ,i want to talk something about this subject.in order to transfers data,usual we should do xml serialize and deserialize,so we should
2007-09-29 15:20:00 417
Multi-Version Concurrency Control in SAP HANA
2019-04-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人