public string GetDALCode(string AssemblyGuid, bool Maxid, bool Exists, bool Add, bool Update, bool Delete, bool GetModel, bool List, string procPrefix) { idal = BuilderFactory.CreateDALObj(AssemblyGuid); if (idal == null) { return("//请选择有效的数据层代码组件类型!"); } idal.DbObject = dbobj; idal.DbName = DbName; idal.TableName = TableName; idal.Fieldlist = Fieldlist; idal.Keys = Keys; idal.NameSpace = NameSpace; idal.Folder = Folder; idal.Modelpath = Modelpath; idal.ModelName = ModelName; idal.DALpath = DALpath; idal.DALName = DALName; idal.IDALpath = ""; idal.IClass = ""; idal.DbHelperName = DbHelperName; idal.ProcPrefix = procPrefix; return(idal.GetDALCode(Maxid, Exists, Add, Update, Delete, GetModel, List)); }
public string GetDALCode(string AssemblyGuid, bool Maxid, bool Exists, bool Add, bool Update, bool Delete, bool GetModel, bool List, string procPrefix) { this.idal = BuilderFactory.CreateDALObj(AssemblyGuid); if (this.idal == null) { return("//请选择有效的数据层代码组件类型!"); } this.idal.DbObject = this.dbobj; this.idal.DbName = base.DbName; this.idal.TableName = base.TableName; this.idal.Fieldlist = base.Fieldlist; this.idal.Keys = base.Keys; this.idal.NameSpace = base.NameSpace; this.idal.Folder = base.Folder; this.idal.Modelpath = base.Modelpath; this.idal.ModelName = base.ModelName; this.idal.DALpath = base.DALpath; this.idal.DALName = base.DALName; this.idal.IDALpath = base.IDALpath; this.idal.IClass = base.IClass; this.idal.DbHelperName = base.DbHelperName; this.idal.ProcPrefix = procPrefix; return(this.idal.GetDALCode(Maxid, Exists, Add, Update, Delete, GetModel, List)); }