摘要: 本文将主要列出MySQL与SqlServer的SQL语句的一些常用语法的不同之处,且以常用的存储过程的相关内容为主。 1. 标识符限定符 SqlServer [] MySql `` 2. 字符串相加 SqlServer 直接用 + MySql concat() 3. isnull() SqlServer isnull() MySql ifnull() 注意:MySql也有isnull()函数... 阅读全文
posted @ 2017-03-31 17:59 金泽夕 阅读(5982) 评论(0) 推荐(0) 编辑
摘要: 因为程序中用到 在当前会话上下文中缓存多个数据库的需求,所有查了下资料。 我们在.NET运用中经常用到缓存(Cache)对象。除了System.Web.Caching下的Cache外,我们还可以用到HttpContext.Current.Cache以及HttpRuntime.Cache那么,Http 阅读全文
posted @ 2017-03-31 15:03 金泽夕 阅读(318) 评论(0) 推荐(1) 编辑
摘要: 方法1: var builder = new ContainerBuilder();//容器生成器 builder.RegisterType<GF.BLL.BaseBLL>();builder.Register(c => new GF.UI.Web.Controllers.HomeControlle 阅读全文
posted @ 2017-03-31 10:07 金泽夕 阅读(387) 评论(0) 推荐(0) 编辑