Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate BlToolkit model

Tags:

orm

linq

From what I have seen on the ormbattle.net, BlToolkit is the fastest ORM for .NET. I would like to test it in one of my projects, but I don't know how to generate entity classes. Should I do this by hand? I have 20+ tables in the database.

Is there any online tutorial or blog, where I can find more information about BlToolkit? It looks like a library with great potential without community behind it.

like image 407
Marko Avatar asked Jan 23 '23 00:01

Marko


2 Answers

you can use our project on bltoolkit code generation:

http://sogen.codeplex.com/

like image 169
Behnam Shomali Avatar answered Jan 29 '23 14:01

Behnam Shomali


There are the following options:

  1. T4 templates are available for some databases - http://www.bltoolkit.net/Doc.T4Templates.ashx

  2. MyGeneration and template for BLToolkit.

  3. Classes generated for Linq 2 SQL. BLToolkit can use L2S metadata.

like image 25
IT. Avatar answered Jan 29 '23 15:01

IT.