随笔分类 -  ef

摘要:EF用contains 或 自己构建SQL EF.Functions.Contains EF.Functions.FreeText 低版本EF: https://www.cnblogs.com/chsword/p/ef_fts.html https://github.com/fissoft/Fiss 阅读全文
posted @ 2022-06-22 11:42 毛毛虫! 阅读(161) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/jacle169/p/4949654.html 1 namespace ConsoleApplication2 2 { 3 class Program 4 { 5 static void Main(string[] args) 6 { 7 using 阅读全文
posted @ 2021-09-01 10:39 毛毛虫! 阅读(150) 评论(0) 推荐(0) 编辑
摘要:join,left join static void Main(string[] args) { var db = new dbEntities(); var query = from s in db.Store join o in db.Organization on s.OrgId equals 阅读全文
posted @ 2020-12-16 11:06 毛毛虫! 阅读(182) 评论(0) 推荐(0) 编辑
摘要:咱公司传统外资企业,且不说ef code first,就连ef都不用(不是说ef不好,只是领导觉得不适合) 开发这边根本触不到正式环境,db的操作也是把sql脚本文件给运维去执行。 自己瞎折腾下新玩意。 对于接触不到正式环境的,需要sql脚本的同学 可以用这个:Script-Migration 迁移 阅读全文
posted @ 2020-11-24 15:30 毛毛虫! 阅读(259) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示