摘要:
如果我们想在子查询做过滤的话应该怎样写呢? product - color , 1-n 可能你以为是这样,但是结果是 error : "The Include path expression must refer to a navigation property defined on the typ 阅读全文
摘要:
一般情况 UNIQUE 不应该出现nullable的 但是如果我们要支持也是有办法的,就是写一个filter. https://msdn.microsoft.com/en-us/library/ms187019.aspx <--参考 right click add New Index 时记得关掉ta 阅读全文
摘要:
参考 :http://www.open-open.com/lib/view/open1397989124218.html开始时5个表1.user2.role3.task4.user_mm_role (n-n for user & role)5.role_mm_task (n-n for role &... 阅读全文
摘要:
EF 6 支持Enum 的处理 首先说一下 mysql 和 sql server 的区别 mysql 是有 Enum 这个类型的 , insert 时是放入 int , 出来的时候它会是 string (int to str 是设定在 mysql 内的) mssql 不支持 Enum 这个类型,也不 阅读全文
摘要:
我用 MySql 2年了,一直都是 asp.net + MySql 开发为什么不用 MSSQL呢?原因 :在我的国家,几乎找不到任何一间托管公司有提供 SQL SERVER 的,有的话也是 2005 年的版本,不然就是非常高的价钱。我觉得很奇怪,为什么美国的托管公司也是 asp + mssql 但是... 阅读全文