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

📄 classdatabasetype.cs

📁 oracle dal gen,生成.NET ORACLE DAL层代码
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace OracleDALGen.Classes.Attributes
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
    public class ClassDatabaseType : System.Attribute
    {
        private string text;
        private Method method;
        private CommandType cmdType;

        public ClassDatabaseType(string text, Method cmd, CommandType cmdType)
        {
            this.text = text;
            this.method = cmd;
            this.cmdType = cmdType;
        }

        public string Text
        {
            get { return text; }
            set { text = value; }
        }

        public Method Method
        {
            get { return method; }
            set { method = value; }
        }

        public CommandType Type
        {
            get { return cmdType; }
            set { cmdType = value; }
        }
    }

    public enum Method
    {
        Select,
        Merge,
        Delete,
        Notification
    }
}

⌨️ 快捷键说明

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