Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

Updated Wiki: Home

$
0
0

Project Description
Reverse engineers an existing database and generates EntityFramework Code First POCO classes, DbContext and Configuration mappings.Currently only works for SQL Server.

This has now been made into a visual studio extension. See documentation tab for further details.

Head over to here to watch a video on how it works. http://visualstudiogallery.msdn.microsoft.com/ee4fcff9-0c4c-4179-afd9-7a2fb90f5838

Up-comming cool things:

  1. Add an option to allow the stripping of the table name from the field name. i.e. if the table name is sales_person_order, and a field is called sales_person_order_id, the field would be called ID.
  2. Non dbo. schemas are currently pre-pended to the table name. ie, Events.SalesOrder are called Events_SalesOrder. It would be better to put these schemas in their own namespace. i.e. Events, so to reference the table with Events.SalesOrder is more natural
  3. Support the following (with immutable classes for results):
    • Stored procedures
    • Functions
    • Views
  4. Separate files for DbContext, Mappings, and POCO'. Requested by Hobbes Pirakitti
  5. If all of your table name begins with some string(AB_Orders), then remove that string as part of Entity name(Orders). Requested by spatemp
  6. Pluralize the names of the dbset properties on the DataContext. You shouldbe able to use this library to do it: Microsofts Pluralization Service. Requested by Tony Broodie (ByBox)
  7. Make it work with other databases. Requested by v.bigham
  8. Add ability to have it unit testable. Requested by Simon Dudley.

Viewing all articles
Browse latest Browse all 1642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>