会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
MessageBox
What you do today can improve all your tomorrows.
Bear in mind:
S
= Single Responsibility Principle
O
= Opened Closed Principle
L
= Liskov Substitution Principle
I
= Interface Segregation Principle
D
= Dependency Inversion Principle
博客园
新随笔
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
···
21
下一页
2015年3月13日
SQL Server 之 解锁
摘要: 下图,制作了一个可以维持1分钟的表锁:下图,可以查询出被锁的表,其中 spid 是锁定表的进程ID(也是 session_id):可以通过select connect_time from sys.dm_exec_connections where session_id=52 查看开始会话时间这时对该...
阅读全文
posted @ 2015-03-13 09:05 Yu
阅读(217)
评论(0)
推荐(0)
2015年3月12日
导入 github 步骤
摘要: https://github.com/dotnet/corefx如果出现未能找到解决方案的情况,则找项目文件打开,如:
阅读全文
posted @ 2015-03-12 14:10 Yu
阅读(283)
评论(0)
推荐(0)
2015年3月6日
WCF 之 DataContract
摘要: 在客户端与服务端之间传递的自定义数据类型,格式如下: [DataContract] public class User :IExtensibleDataObject { [DataMember] public int I...
阅读全文
posted @ 2015-03-06 14:21 Yu
阅读(423)
评论(0)
推荐(0)
2015年3月5日
WCF 之 OperationContract
摘要: 这里主要说的是同名异常: [ServiceContract] public interface IUserInfo { [OperationContract] string ShowName(stri...
阅读全文
posted @ 2015-03-05 17:28 Yu
阅读(6287)
评论(0)
推荐(0)
2015年2月25日
SQL Server 之 事务隔离级别
摘要: SET TRANSACTION ISOLATION LEVEL xxx --每次设置只针对当前事务块xxx 取值:READ UNCOMMITTEDREAD COMMITTEDREPEATABLE READSNAPSHOTSERIALIZABLEtest1表数据如下: 现在对 Name 为 aaaa...
阅读全文
posted @ 2015-02-25 14:28 Yu
阅读(794)
评论(0)
推荐(0)
2015年2月14日
SQL Server 之 DBCC
摘要: --检查索引碎片情况dbcc showconfig(tablename)具体例子:--上图为碎片整理之前ALTER INDEX ALL on Citation REBUILD--下图为碎片整理之后-- Extents Switches: Extents Scanned -1-- Avg. Pages...
阅读全文
posted @ 2015-02-14 13:50 Yu
阅读(510)
评论(0)
推荐(0)
2015年2月13日
SQL SERVER 之 填充因子
摘要: 填充因子依附索引而存在,但创建索引,就意味着要对表进行DML时,必须处理额外的工作量(也就是对索引结构的维护)以及存储方面的IO开销。所以创建索引时,需要考虑创建索引所带来的查询性能方面的提高,与引起的额外的开销相比,是否值得。填充因子取值范围:0~100(0为默认值)
阅读全文
posted @ 2015-02-13 15:14 Yu
阅读(519)
评论(0)
推荐(0)
2015年2月10日
SQL Server 之 校对
摘要: _CI(CS) 是否区分大小写,CI不区分,CS区分_AI(AS) 是否区分重音,AI不区分,AS区分_KI(KS) 是否区分假名类型,KI不区分,KS区分_WI(WS) 是否区分宽度 WI不区分,WS区分
阅读全文
posted @ 2015-02-10 17:23 Yu
阅读(233)
评论(0)
推荐(0)
2015年2月5日
编译为 Release 与 Debug 的区别
摘要: class Program { static void Main(string[] args) { DoWork(); } static void DoWo...
阅读全文
posted @ 2015-02-05 15:36 Yu
阅读(261)
评论(0)
推荐(0)
2015年1月23日
PrintQueue
摘要: PrintQueueCollection printQueues = null;var printServer = new PrintServer();printQueues = printServer.GetPrintQueues(new[] { EnumeratedPrintQueueTypes...
阅读全文
posted @ 2015-01-23 14:59 Yu
阅读(1001)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
21
下一页
公告