v9.8.2018.0605   由DataReader直接映射实体列表,以支持netstandard的MySql和SQLite,且提升性能
大石头 authored at 2018-06-05 00:45:23
791.00 B
X
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using XCode.DataAccessLayer;

namespace NewLife.Cube.Admin
{
    /// <summary>数据项</summary>
    public class DbItem
    {
        /// <summary>连接名</summary>
        public String Name { get; set; }

        /// <summary>数据库类型</summary>
        public DatabaseType Type { get; set; }

        /// <summary>连接字符串</summary>
        public String ConnStr { get; set; }

        /// <summary>数据驱动版本</summary>
        public String Version { get; set; }

        /// <summary>是否动态</summary>
        public Boolean Dynamic { get; set; }

        /// <summary>备份数</summary>
        public Int32 Backups { get; set; }
    }
}