Giter Site home page Giter Site logo

adository's Introduction

Adository

What it Adository?

If you are a fans of ADO .Net and want to stick with it because you dont want to migrate to EF yet, then here is a tool for you to generate repository classes using ADO .Net. Or in other word it is a data access layer generator tool

Supported Language and Database

Database: SQL Server

Language: C# and Visual Basic

How To Generate Repository Classes

It's recommended to create a separated project (class library) to put the generated code.

1. Open The App (Build/Run the project)

2. Pick Language (C# or VB)

3. Login using sql server password or windows

4. Select a database node and click 'Generate Repository' Context Menu

5. Type your namespace name, DbContext name, and select a folder project where you want to generate the files.

6. In your IDE (visual studio) point to project where the files generated. Show all files, select the generated folders and files then include to your project

7. Note that the dbcontext class will read connection string from config file(app.config or web.config). So you must add/create your own connection string in the config file

Use the generated code

It's a bit similiar to how we use an EF dbcontext object.

adository's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

adository's Issues

no connection

May be you worked a lot to this but there is no connection to server instance, after replacing "localhost", not even with it, in no situation :windows authentication or database. message "address error ".
Happy coding.
Altitus

[email protected]

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.