摘要:
阅读全文
摘要:
string[] strpcid = item.cid.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); int[] intpcid = Array.ConvertAll(strpcid, s => int.Parse(s)); var intarr = Enumera... 阅读全文
摘要:
C:\Users\xxx\AppData\Local\Microsoft\Team Foundation\5.0 阅读全文
摘要:
涉及到目录最好用双引号括起来,防止在目录含有空格或文字时发生错误。例如 del "$(SolutionDir)\..\xxxxxx\xxxx\Build\*.*" /s /q xcopy "$(TargetDir)*.dll" "$(SolutionDir)\..\xxxxxx\xxxx\Build" /s /e /y /i xcopy "$(TargetDir)*.e... 阅读全文
摘要:
xcopy d:\a e:\asdf /s /e /y /i 将d:\a 下的目录和文件复制到e:\asdf 阅读全文
摘要:
在项目prj引用一个dll,a.dll,时,此dll应用b.dll 此时不将b.dll引用添加到prj,会有问题 阅读全文
摘要:
cmd命令: wmic memphysical get maxcapacity 阅读全文
摘要:
一个类可以依靠IProductRepository这一接口获取Product对象,而不必知道这些对象从哪里来,也不必知道该接口的实现类如何递交这些对象,这就是存储库模式的本质 阅读全文
摘要:
mvc 架构的每一个部分都是定义良好和自包含的,称为关注分离。域模型和控制器逻辑与UI是松耦合的。模型中操作数据的逻辑仅包含在模型中,显示数据的逻辑仅包含在视图中,而处理用户请求和用户输入的代码仅包含在控制器中。 阅读全文