Giter Site home page Giter Site logo

automao.data's Introduction

Automao.Data

建议数据库连接字符串的配置项存放在业务系统的主插件配置文件中,譬如插件目录结构中的 Automao.SaaS.optionAutomao.Common.option 配置文件:

  • [plugins]
    • [Automao]

      • Automao.SaaS.option

      • [Automao.Common]

        • Automao.Common.dll

        • Automao.Common.plugin

        • Automao.Common.option

        • Automao.Common.Web.dll

        • Automao.Common.Web.plugin

        • Automao.Common.Web.option

      • [Automao.Community]

      • [Automao.Customers]

      • [Automao.Marketing]

      • [Automao.Maintenances]

    • [Zongsoft.Security]

    • [Zongsoft.Externals]

      • [Json]
      • [Redis]
      • [Aliyun]

配置文件中数据连接字符串配置大致如下所示,指定的配置项路径为 /Data/ConnectionStrings['Automao.SaaS']

<options>
	<option path="/Data">
		<connectionStrings>
			<connectionString name="Automao.SaaS"
			                  provider="MySql.Data.MySqlClient"
			                  value="server=127.0.0.1:3306;user id=root;Password=******;database=db;persist security info=False;Charset=utf8;Convert zero Datetime=true;Allow zero Datetime=True;" />
		</connectionStrings>
	</option>
</options>

automao.data's People

Contributors

popeyezhong avatar yxzx avatar

Watchers

 avatar

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.