Griffin DAL Generator

The Visual Studio 2015 extension that generates beatiful repositories.

Download Order Boss motivator

 

About

The extension is an *alpha*, meaning that it might fail utterly when trying to satisfy your needs. All bug reports and feature suggestions are rewarded with a one year license of the final product. Email feedback to support@gauffin.com.

Features

The generator currently supports the following repository types:

  • Repository (ADO.NET) - An ADO.NET repository without any external dependencies.
  • Async Repository (ADO.NET) - An ADO.NET repository using async/wait.
  • Repository (Griffin.Framework) - An repository that uses the super awesome data mapper in Griffin.Framework.
  • Async Repository (Griffin.Framework) - An repository that uses the async API in the super awesome data mapper in Griffin.Framework.

Each repository generation creates the following classes/interfaces:

  • Repository interface
  • Repository
  • Entity

As a bonus you can also generate integration tests in your test project. These tests each method in the repository class so that the SQL queries, mappings etc. work as they should.

Screenshots

The screenshots demonstrate how you work with the extension.

Right-click on a project in the solution explorer to get started:

Right-click on a project in the solution explorer to get started.

Select the tables that you want to generate repositories for:

Select the tables that you want to generate repositories for.

Preview all generated files and select the ones that you want to add:

Preview all generated files and select the ones that you want to add.

The generated files are added to your selected projects:

The generated files are added to your selected projects.