GithubHelp home page GithubHelp logo

soeasyplatform's Introduction

SoEasyPlatform 代码生成器

介绍

一款轻量级开源的代码生成器,相对较动软代码生成器而言要轻量的多,支持多种数据库,所用到dll组件也都在github有源码,代码非常的简单有点基础的看源码可以把生成的项目改成自已的风格。

特色

该代码生成器最大的特点就三个简单 ,无需安装,生成的代码 简单并且有教学用例,还有就是调试和修改模版简单。

使用步骤

1.从上面的地址下载 SoEasyPlatform到本地

2.解压项目

点击SoEasyPlatform.sln打开项目,重新生成项目会自动下载NUGET 文件

3.配置三个参数

const SqlSugar.DbType dbType = DbType.SqlServer;//数据库类型

const string connectionString = "server=.;uid=sa;pwd=@jhl85661501;database=SqlSugar4XTest";//连接字符串

const string SolutionName = "SoEasyPlatform";//解决方案名称   

4.F5运行

5.完成

我们发现两个类库已经添加到解决方案下面了,并且相关的dll的类库引用也帮我们做好了,非常方便,数据库有改动后F5刷新就好了。

执行完成没发现有类库加进来,关掉解决方案重新打开便可以了

如何使用生成的代码开发项目

1.新建一个项目

Web项目或者控制台都可以

2.引用生成的类库

3.代码如下

StudentManager m = new StudentManager();

soeasyplatform's People

Contributors

dotnetnext avatar

Watchers

 avatar  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.