SmartSQL/SmartSQL.Framework/PhysicalDataModel/Column.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSQL.Framework.PhysicalDataModel
{
    using Util;

    public class Column : IMetaData
    {
        protected string _id;
        protected string _displayName;
        protected string _name;
        protected string _originalName;
        protected string _comment;
        protected string _dataType;
        protected string _defaultValue;
        protected string _languageType = string.Empty;
        protected string _languageTypeAlias = string.Empty;
        protected string _languageDefaultValue = string.Empty;
        protected string _lengthName;
        protected int _ordinal = -1;
        protected bool _isNullable;
        protected bool _hasDefault;
        protected bool _isPrimaryKey;
        protected bool _isIdentity;

        public Column()
        {
            new Column();
        }

        public Column(string id, string displayName, string name)
        {
            this._id = id;
            this._displayName = displayName;
            this._name = name;
        }

        public Column(string id, string displayName, string name, string dataType)
            : this(id, displayName, name)
        {
            this._dataType = dataType;
        }

        public Column(string id, string displayName, string name, string dataType, string comment)
            : this(id, displayName, name, dataType)
        {
            this._comment = comment;
        }

        public string Id
        {
            get { return this._id; }
            set { this._id = value; }
        }

        public string DisplayName
        {
后面还有 120 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。