using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace WinCodeView.CodeTools{public static class AzDalInterface{static List<string> webtUiIgnoreProperty;static AzDalInterface(){webtUiIgnoreProperty = new List<string>() { "Id" };}public static string GetDalInterface(string op){switch (op){case "DB_Insert": return "void DB_Insert(<$Ai_Bll_ClassName>Entity azItem);".AddPerTab();case "DB_Update": return "void DB_Update(<$Ai_Bll_ClassName>Entity azItem);".AddPerTab();case "DB_Delete": return "void DB_Delete(<$Ai_Bll_ClassName>Entity azItem);".AddPerTab();case "DB_Fetch": return "void DB_Fetch(<$Ai_Bll_ClassName>Entity azItem);".AddPerTab();case "DB_FetchList": return "void DB_FetchList(<$Ai_Bll_List_ClassName>Entity azItems);".AddPerTab();case "DB_Execute": return "void DB_Execute(<$Ai_Bll_ClassName>Entity azItem);".AddPerTab();}return string.Empty;}public static string GetBLLInterface(string op){switch (op){case "DB_Insert": return "IBusinessInsert";case "DB_Update": return "IBusinessUpdate";case "DB_Delete": return "IBusinessDelete";case "DB_Fetch": return "IBusinessFetch";case "DB_FetchList": return "IBusinessFetch";case "DB_Execute": return "IBusinessExecute";}return string.Empty;}public static bool WebtUiIgnoreProperty(string fldName){return webtUiIgnoreProperty.Where(m => m == fldName).Count() > 0;}}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。