public string GetBLLCode(string AssemblyGuid, bool Maxid, bool Exists, bool Add, bool Update, bool Delete, bool GetModel, bool GetModelByCache, bool List, bool ListProc) { this.ibll = BuilderFactory.CreateBLLObj(AssemblyGuid); if (this.ibll == null) { return("//请选择有效的业务层代码组件类型!"); } this.ibll.Fieldlist = base.Fieldlist; this.ibll.Keys = base.Keys; this.ibll.NameSpace = base.NameSpace; this.ibll.Folder = base.Folder; this.ibll.Modelpath = base.Modelpath; this.ibll.ModelName = base.ModelName; this.ibll.TableDescription = CodeCommon.CutDescText(base.TableDescription, 10, base.BLLName); this.ibll.BLLpath = base.BLLpath; this.ibll.BLLName = base.BLLName; this.ibll.Factorypath = base.Factorypath; this.ibll.IDALpath = base.IDALpath; this.ibll.IClass = base.IClass; this.ibll.DALpath = base.DALpath; this.ibll.DALName = base.DALName; this.ibll.IsHasIdentity = base.IsHasIdentity; this.ibll.DbType = this.dbobj.DbType; return(this.ibll.GetBLLCode(Maxid, Exists, Add, Update, Delete, GetModel, GetModelByCache, List)); }
public string GetBLLCode(string AssemblyGuid, bool Maxid, bool Exists, bool Add, bool Update, bool Delete, bool GetModel, bool GetModelByCache, bool List) { ibll = BuilderFactory.CreateBLLObj(AssemblyGuid); if (ibll == null) { return("//请选择有效的业务层代码组件类型!"); } ibll.Fieldlist = Fieldlist; ibll.Keys = Keys; ibll.NameSpace = NameSpace; ibll.Modelpath = Modelpath; ibll.ModelName = ModelName; ibll.BLLpath = BLLpath; ibll.BLLName = BLLName; ibll.Factorypath = ""; ibll.IDALpath = ""; ibll.IClass = ""; ibll.DALpath = DALpath; ibll.DALName = DALName; ibll.IsHasIdentity = IsHasIdentity; ibll.DbType = dbobj.DbType; return(ibll.GetBLLCode(Maxid, Exists, Add, Update, Delete, GetModel, GetModelByCache, List)); }