⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 codebuilders.cs

📁 通过数据库结构自动 生成三层结构代码,相当不错的一款软件
💻 CS
📖 第 1 页 / 共 2 页
字号:

        public string BLLName
        {
            get
            {
                return this._bllname;
            }
            set
            {
                this._bllname = value;
            }
        }

        public string BLLpath
        {
            get
            {
                string str = this._namespace + ".BLL";
                if (this._folder.Trim() != "")
                {
                    str = str + "." + this._folder;
                }
                return str;
            }
            set
            {
                this._bllpath = value;
            }
        }

        public string BLLSpace
        {
            get
            {
                return (this.BLLpath + "." + this.BLLName);
            }
        }

        public string DALName
        {
            get
            {
                return this._dalname;
            }
            set
            {
                this._dalname = value;
            }
        }

        public string DALpath
        {
            get
            {
                string str = this._namespace + "." + this._dbtype + "DAL";
                if (this._folder.Trim() != "")
                {
                    str = str + "." + this._folder;
                }
                return str;
            }
            set
            {
                this._dalpath = value;
            }
        }

        public string DbConnectStr
        {
            get
            {
                return this._dbconnectStr;
            }
            set
            {
                this._dbconnectStr = value;
            }
        }

        public string DbHelperName
        {
            get
            {
                return this._dbhelperName;
            }
            set
            {
                this._dbhelperName = value;
            }
        }

        public string DbName
        {
            get
            {
                return this._dbname;
            }
            set
            {
                this._dbname = value;
            }
        }

        public string DbType
        {
            get
            {
                return this._dbtype;
            }
            set
            {
                this._dbtype = value;
            }
        }

        public string FactoryClass
        {
            get
            {
                this._factoryclass = this._namespace + ".DALFactory";
                if (this._folder.Trim() != "")
                {
                    this._factoryclass = this._factoryclass + "." + this._folder;
                }
                this._factoryclass = this._factoryclass + "." + this._modelname;
                return this._factoryclass;
            }
        }

        public string Factorypath
        {
            get
            {
                string str = this._namespace + ".DALFactory";
                if (this._folder.Trim() != "")
                {
                    str = str + "." + this._folder;
                }
                return str;
            }
        }

        public List<ColumnInfo> Fieldlist
        {
            get
            {
                return this._fieldlist;
            }
            set
            {
                this._fieldlist = value;
            }
        }

        public string Folder
        {
            get
            {
                return this._folder;
            }
            set
            {
                this._folder = value;
            }
        }

        public string IClass
        {
            get
            {
                return ("I" + this.DALName);
            }
        }

        public string IDALpath
        {
            get
            {
                this._idalpath = this._namespace + ".IDAL";
                if (this._folder.Trim() != "")
                {
                    this._idalpath = this._idalpath + "." + this._folder;
                }
                return this._idalpath;
            }
        }

        public bool IsHasIdentity
        {
            get
            {
                bool flag = false;
                if (this.Keys.Count > 0)
                {
                    foreach (ColumnInfo info in this.Keys)
                    {
                        if (info.IsIdentity)
                        {
                            flag = true;
                        }
                    }
                }
                return flag;
            }
        }

        public List<ColumnInfo> Keys
        {
            get
            {
                return this._keys;
            }
            set
            {
                this._keys = value;
            }
        }

        public string ModelName
        {
            get
            {
                return this._modelname;
            }
            set
            {
                this._modelname = value;
            }
        }

        public string Modelpath
        {
            get
            {
                this._modelpath = this._namespace + ".Model";
                if (this._folder.Trim() != "")
                {
                    this._modelpath = this._modelpath + "." + this._folder;
                }
                return this._modelpath;
            }
            set
            {
                this._modelpath = value;
            }
        }

        public string ModelSpace
        {
            get
            {
                return (this.Modelpath + "." + this.ModelName);
            }
        }

        public string NameSpace
        {
            get
            {
                return this._namespace;
            }
            set
            {
                this._namespace = value;
            }
        }

        public string ProcPrefix
        {
            get
            {
                return this._procprefix;
            }
            set
            {
                this._procprefix = value;
            }
        }

        public string TableName
        {
            get
            {
                return this._tablename;
            }
            set
            {
                this._tablename = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -