Giter Site home page Giter Site logo

cml.sqldoc's Introduction

CML.SqlDoc

CML.SqlDoc 是基于netcore2.1开发的数据库表结构文档查看器,通过简单的配置部署即使用, 数据库表结构文档查看器支持MSSql MySql多数据库

界面呈现

mahua

如何部署

*appsettings.json 数据库连接以及库名写入配置文件 格式如下

 {
  "ConnectionStrings": {
    "SqlDoc.Reader": {
      "ConnectionString": "Min Pool Size=10;Max Pool Size=500;Connection Timeout=50;Data Source=127.0.0.1;Initial Catalog=Demo;Persist Security Info=True;User ID=sa;Password=123123",
      "providerName": "System.Data.SqlClient"
    },
    "SqlDoc.Writer": {
      "ConnectionString": "Min Pool Size=10;Max Pool Size=500;Connection Timeout=50;Data Source=127.0.0.1;Initial Catalog=Demo;Persist Security Info=True;User ID=sa;Password=123123",
      "providerName": "System.Data.SqlClient"
    }
  },
  "DataBaseConfig": [
    {
      "Id": "1",
      "Title": "XX系统",
      "DbName": "DBName2",
      "ConnectionString": "Min Pool Size=10;Max Pool Size=500;Connection Timeout=50;Data Source=xxxx;Initial Catalog=xxxx;Persist Security Info=True;User ID=xxxx;Password=xxxxx!",
      "DbType": "MSSQLServer"
    },
    {
      "Id": "2",
      "Title": "YY系统",
      "DbName": "DbName1",
      "ConnectionString": "Server=xxxxxx;Port=3306;Database=bt_hyaline;Uid=xxxx;Pwd=xxxxx;Charset=utf8;",
      "DbType": "MySql"
    }
  ]
}

技术栈

core 2.1

  • 基于.Net Core 2.1开发;

  • 后端采用 asp.net mvc core 2.1 + Dapper + autofac

补充

项目引用CML.Lib CML.DataAccess 两个包已发布至nuget,源码请见 [git]https://github.com/willianchen/CML.NetCore

##有问题反馈 在使用中有任何问题,欢迎反馈给我,可以用以下联系方式跟我交流

  • 邮件(willianli#126.com, 把#换成@)
  • QQ: 474852546

cml.sqldoc's People

Contributors

willianchen avatar

Stargazers

archer avatar  avatar byco avatar 莽莽 avatar jian玄冰 avatar  Damon avatar  avatar  avatar  avatar Riddly avatar  avatar zhangdawei avatar  avatar  avatar 李凤焕 avatar

Watchers

James Cloos avatar  avatar

cml.sqldoc's Issues

能大概解释一下配置文件的节点描述么

ConnectionStrings 节点目前可以忽略,暂未对数据库进行持久化操作
DataBaseConfig
-Id :唯一标识
-Title:数据库名称
-DbName:实际数据库名
-ConnectionString:s数据库连接字符串
-DbType:数据库类型(MSSQLServer/MySql)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.