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

📄 parameter.cs

📁 动易SiteFactory&#8482 网上商店系统1.0源代码
💻 CS
字号:
namespace PowerEasy.SqlServerDal
{
    using System;
    using System.Data;

    public class Parameter
    {
        private DbType m_DBType;
        private ParameterDirection m_Direction;
        private string m_Name;
        private int m_Size;
        private object m_Value;

        public Parameter()
        {
        }

        public Parameter(string name, DbType type, object value) : this(ParameterDirection.Input, name, type, value, 0)
        {
        }

        public Parameter(ParameterDirection direction, string name, DbType type, object value, int size)
        {
            this.m_Direction = direction;
            this.m_Name = name;
            this.m_DBType = type;
            this.m_Value = value;
            this.m_Size = size;
        }

        public DbType DBType
        {
            get
            {
                return this.m_DBType;
            }
            set
            {
                this.m_DBType = value;
            }
        }

        public ParameterDirection Direction
        {
            get
            {
                return this.m_Direction;
            }
            set
            {
                this.m_Direction = value;
            }
        }

        public string Name
        {
            get
            {
                return this.m_Name;
            }
            set
            {
                this.m_Name = value;
            }
        }

        public int Size
        {
            get
            {
                return this.m_Size;
            }
            set
            {
                this.m_Size = value;
            }
        }

        public object Value
        {
            get
            {
                return this.m_Value;
            }
            set
            {
                this.m_Value = value;
            }
        }
    }
}

⌨️ 快捷键说明

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