会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
龍☆
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2016年1月27日
Entity Framework 中的in操作实例
摘要: var listimportDataEOIResoults = importDataEOIResoults.Select(i => i.ProductSelectionId).ToList(); var productSelections = ...
阅读全文
posted @ 2016-01-27 09:47 龍☆
阅读(433)
评论(0)
推荐(0)
2015年12月4日
解决IE8 内置JSON.stringify,中文变unicode的问题
摘要: 转自:http://my.oschina.net/u/919074/blog/191131项目中出现在IE下出现把json对象转为json串中文变成unicode的问题,最后经过排查,发现是IE8内置JSON.stringify()引起的,解决方法如下:// 把json对象转为json串var po...
阅读全文
posted @ 2015-12-04 18:34 龍☆
阅读(1470)
评论(0)
推荐(0)
2015年11月12日
解决SQL Server的cannot resolve the collation conflict问题
摘要: 当没有牵涉到两个不同的数据库时,出现以上错误.Cannot resolve the collation conflict between "Chinese_PRC_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation....
阅读全文
posted @ 2015-11-12 12:15 龍☆
阅读(2587)
评论(0)
推荐(0)
2015年11月5日
sqlserver 解析Json字符串
摘要: 转自:https://www.simple-talk.com/sql/t-sql-programming/consuming-json-strings-in-sql-server/http://www.cnblogs.com/huangtailang/p/4277809.htmlCREATE FUN...
阅读全文
posted @ 2015-11-05 10:24 龍☆
阅读(2681)
评论(0)
推荐(0)
2015年11月2日
EF性能调优
摘要: 首先说明下:第一次运行真是太慢了,处理9600多个员工数据,用了81分钟!!代码也挺简单,主要是得到数据--》对比分析--》插入分析结果到数据库。用的是EF的操作模式。 public void AllocateAllPlans() { var employees...
阅读全文
posted @ 2015-11-02 09:52 龍☆
阅读(432)
评论(0)
推荐(0)
2015年10月30日
IIS 发布mvc 403.14
摘要: 转载: iis7 发布mvc3 遇到的HTTP错误 403.14-Forbidden Web 服务器被配置为不列出此目录的内容及Login on failed for “IIS APPPOOL\ASP.NET v4.0″问题 2013年04月28日 ⁄ 综合 ⁄ 共 1277字 ⁄ 字号 小 中 大
阅读全文
posted @ 2015-10-30 10:23 龍☆
阅读(1219)
评论(0)
推荐(0)
2015年10月29日
sqlserver 导出数据字典
摘要: 转自: http://blog.csdn.net/xiaoxu0123/article/details/5622500
阅读全文
posted @ 2015-10-29 17:32 龍☆
阅读(5391)
评论(1)
推荐(0)
2015年10月19日
代码整洁之道
摘要: 简单代码的重要顺序:能通过所有测试没有重复代码体现系统中的全部设计理念包括尽量少的实体,比如类、方法、函数等。如果同一段代码反复出现,就表示某种想法未在代码中得到良好的体现,尽力找出到底那是什么,然后尽力更清晰地表达出来。有意义的命名是体检表达力的一种方式,然而表达力还不只体现在命名上,还有检查对象...
阅读全文
posted @ 2015-10-19 11:05 龍☆
阅读(190)
评论(0)
推荐(0)
2015年10月14日
计算日期间相差月数
摘要: public int GetMonths(DateTime from, DateTime to) { int years = to.Year - from.Year; int months = to.Month - from....
阅读全文
posted @ 2015-10-14 08:49 龍☆
阅读(307)
评论(0)
推荐(0)
2015年1月12日
SQL Server 查询时间段内数据
摘要: 方式一:ALTER Proc [dbo].[usp_Rpt_AcctTypeAudit]@FromDate datetime=null, -- yyyy-mm-dd (may change in the future!)@ToDate datetime=n...
阅读全文
posted @ 2015-01-12 14:15 龍☆
阅读(5869)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告