• 大小: 5.06MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-30
  • 语言: 其他
  • 标签: 动软.net  

资源简介

动软.net代码生成器2.41版 动软.net代码生成器2.41版 动软.net代码生成器2.41版

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Data.SqlClient;
using LTP.Utility;
using LTP.IDBO;
using LTP.CodeHelper;
namespace LTP.BuilderBLLComm
{
    /// 
    /// 业务层代码组件
    /// 

    public class BuilderBLL : IBuilder.IBuilderBLL
    {
        #region 私有变量
        protected string _key = “ID“;//默认第一个主键字段
        protected string _keyType = “int“;//默认第一个主键类型
        NameRule namerule = new NameRule();
        #endregion

        #region 公有属性
        private List _fieldlist;
        private List _keys;
        private string _namespace; //顶级命名空间名
        private string _modelspace;
        private string _modelname;//model类名 
        private string _bllname;//bll类名    
        private string _dalname;//dal类名    
        private string _modelpath;
        private string _bllpath;
        private string _factorypath;
        private string _idalpath;
        private string _iclass;
        private string _dalpath;
        private string _dalspace;
        private bool isHasIdentity;
        private string dbType;

        /// 
        /// 选择的字段集合
        /// 

        public List Fieldlist
        {
            set { _fieldlist = value; }
            get { return _fieldlist; }
        }   
        /// 
        /// 主键或条件字段列表 
        /// 

        public List Keys
        {
            set { _keys = value; }
            get { return _keys; }
        }
        /// 
        /// 顶级命名空间名
        /// 

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

        /*============================*/

        /// 
        /// 实体类的命名空间
        /// 

        public string Modelpath
        {
            set { _modelpath = value; }
            get { return _modelpath; }
        }
        /// 
        /// Model类名
        /// 

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

        /// 
        /// 实体类的整个命名空间 + 类名,即等于 Modelpath+ModelName
        /// 

        public string ModelSpace
        {
            get { return Modelpath + “.“ +ModelName; }
        }
                
        /*============================*/

        /// 
        /// 业务逻辑层的命名空间
        /// 

        public string BLLpath
        {
            set { _bllpath = value; }
            get { return _bllpath; }
        }
        /// 
        /// BLL类名
        /// 

        public string BLLName
        {
            set { _bllname = value; }
            get { return _bllname; }
        }
        
        /*============================*/

        /// 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    5152768  2009-07-19 17:49  Codematic2.msi

     文件       4612  2008-05-25 12:54  help.htm

     文件       1837  2009-08-07 23:06  readme.txt

     文件    2359296  2009-08-07 23:03  Codematic_Data.MDF

     文件    1048576  2009-08-07 23:03  Codematic_Log.LDF

     目录          0  2009-07-19 17:12  Builder

     文件       3402  2009-02-21 10:23  Builder\Builder.sln

    ..A..H.     49664  2009-02-21 10:28  Builder\Builder.suo

     目录          0  2009-04-21 22:32  Builder\BuilderBLLComm

     文件      26871  2009-07-12 11:16  Builder\BuilderBLLComm\BuilderBLL.cs

     文件       2932  2008-09-29 20:43  Builder\BuilderBLLComm\BuilderBLLComm.csproj

    ..A..H.     13312  2009-02-21 10:11  Builder\BuilderBLLComm\BuilderBLLComm.suo

     目录          0  2009-04-21 22:32  Builder\BuilderBLLComm\Properties

     文件       1076  2009-07-19 17:09  Builder\BuilderBLLComm\Properties\AssemblyInfo.cs

     目录          0  2009-04-21 22:32  Builder\BuilderDALELParam

     文件      41841  2009-06-06 20:45  Builder\BuilderDALELParam\BuilderDAL.cs

     文件       2989  2008-09-29 20:41  Builder\BuilderDALELParam\BuilderDALELParam.csproj

    ..A..H.     18944  2009-02-21 10:12  Builder\BuilderDALELParam\BuilderDALELParam.suo

    ..A..H.     12288  2008-01-06 22:16  Builder\BuilderDALELParam\BuilderDALParam.suo

     目录          0  2009-04-21 22:32  Builder\BuilderDALELParam\Properties

     文件       1089  2009-07-19 17:10  Builder\BuilderDALELParam\Properties\AssemblyInfo.cs

     目录          0  2009-04-21 22:32  Builder\BuilderDALParam

     文件      39788  2009-06-06 20:44  Builder\BuilderDALParam\BuilderDAL.cs

     文件       2985  2008-09-29 20:44  Builder\BuilderDALParam\BuilderDALParam.csproj

    ..A..H.     12288  2009-02-21 10:12  Builder\BuilderDALParam\BuilderDALParam.suo

     目录          0  2009-04-21 22:32  Builder\BuilderDALParam\Properties

     文件       1123  2009-07-19 17:10  Builder\BuilderDALParam\Properties\AssemblyInfo.cs

     目录          0  2009-05-12 23:48  Builder\BuilderDALProc

     文件      38360  2009-07-12 10:31  Builder\BuilderDALProc\BuilderDAL.cs

     文件       3018  2009-04-28 23:24  Builder\BuilderDALProc\BuilderDALProc.csproj

............此处省略34个文件信息

评论

共有 条评论

相关资源