07 2017 档案

摘要:十年河东,十年河西,莫欺少年穷 本篇主旨是如何物理删除有主外键约束的记录!那么,我们从主外键走起! 下面新建三张有主外键约束的表,分别为:系/学院表,专业班表,学生表,如下: 由上述SQL脚本,我们可以得到:学生表外键于班级表、班级表外键于系/学院表。也就是说:系和班级是1:N 的关系,同理班级和学 阅读全文
posted @ 2017-07-27 18:17 天才卧龙 阅读(1000) 评论(0) 推荐(1)
摘要:好久没写博客了,都感觉自己快堕落了!今天随性写一篇关于异步上传图片的程序及插件! 说是程序及插件,其实程序占大头,所谓的插件只是两个JS。分别为:jquery.html5upload.js 和 jquery.MultiFile.js 下载地址为:http://files.cnblogs.com/fi 阅读全文
posted @ 2017-07-25 16:53 天才卧龙 阅读(1976) 评论(2) 推荐(0)
摘要:枚举扩展方法 阅读全文
posted @ 2017-07-11 15:24 天才卧龙 阅读(1052) 评论(0) 推荐(0)
摘要:调用如下: @ 阅读全文
posted @ 2017-07-07 17:44 天才卧龙 阅读(508) 评论(0) 推荐(0)
摘要:The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. 阅读全文
posted @ 2017-07-03 14:27 天才卧龙 阅读(376) 评论(0) 推荐(0)
摘要:The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. 阅读全文
posted @ 2017-07-03 14:26 天才卧龙 阅读(721) 评论(0) 推荐(0)