(Note : currently in beta and preview)
Want to start coding in c# or you have a need for this kind of tool, then check issues marked with Help Wanted Label.
CExtensions.EFModelGenerator is a tool used to generate code from a database schema. It can be used as poco generator, but can also generate other kind of files
The tool is configurable, customizable and currently supports Oracle and SqlServer out of the box. It is possible to write your own Provider. Check CExtensions.EFModelGenerator.Oracle as an example on how to implement a provider.
The code is generated using Serializers. There is a serilizer to generate Poco classes and a DbContext. You can write your own serilizer and it does not have to generate c# code. Check CExtensions.EFModelGenerator.Serializers for implementations.
There is a Visual Studio extension : CExtensions.EFModelGenerator
It's alos available on nuget.org :
- you will need a config file (some samples : simple model)
- If you are using the Vs extension, then simply right click on the file and Generate.
- If you are using the nuget packags, create a Console Project and it's simple as:
Generator.Generate(@"c:\Temp:\MyConfig.json");
the following project: Configuration Samples lists some configuration samples.