SmartSQL/SmartSQL.Framework/PhysicalDataModel/Model.cs

(开头部分) 1KB

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

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

namespace SmartSQL.Framework.PhysicalDataModel
{
    /// <summary>
    /// Represent the Physical Data Model of Database.
    /// </summary>
    public class Model
    {
        protected string _database;
        protected string _databaseName;
        protected string _schema;
        protected Tables _tables;
        protected Views _views;
        protected Procedures _procs;

        public Model()
        {
            _tables = new Tables();
            _views = new Views();
            _procs = new Procedures();
        }

        public Model(Tables tables)
        {
            this._tables = tables;
        }

        public Model(Views views)
        {
            this._views = views;
        }

        public Model(Tables tables, Views views)
            : this(tables)
        {
            this._views = views;
        }

        public Tables Tables
        {
            get { return this._tables; }
            set { this._tables = value; }
        }

        public Views Views
        {
            get { return this._views; }
            set { this._views = value; }
        }

        public Procedures Procedures
        {
            get { return this._procs; }
            set { this._procs = value; }
        }

后面还有 19 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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