Skip to content

svallory/EdmxTypist

 
 

Repository files navigation

Edmx Typist

A cyber typist which will help you fix your edmx files. It formats the names of Entities, properties and more on a configurable, automated way.

Click here to lend your support to: Edmx Typist and make a donation at www.pledgie.com !

Have your ever...

Started a project using Entity Framework with a Database First approach? Did it have a messy, or just not your style, database table and column names? Let's say something like..

tbl_user
  user_id
  dt_creation

tbl_posts
  post_id
  fk_user_id
  txt_content

And you had to manually edit your entites to have something like…

User
  Id
  CreationDate

Posts
  Id
  UserId
  Content

Well, if you knew Edmx Typist back then you wouldn't have to :)

An image is worth more than…

Let's have the words anyway! So, what can you do with it?

You can...

  • Add prefixes or suffixes

  • Remove prefixes and suffixes

  • Apply a regular expression find and replace

  • Change the casing to CamelCase, lowerCamelCase or underscore_style

  • Pluralize and singularize names in English or Portuguese

  • Ask Typist to decide wheter the name should be pluralized or singularized based on the amount of values it represents.

    For example, a navigation property to a single User instance will be singularized while a navigation property to a List will be pluralized.

  • Oh, and you can set any of this things to a specific meta-type (eg. for entity sets, comples properties, methods, etc.)

And, if that isn't enough you can…

  • Implement a custom flexing rules class using Flexer to support your language
  • Create Your Own Renamer extending the IRenamer interface to specify your own weird rules :)

Want to Help?

In the spirit of free software, everyone is encouraged to help improve this project.

Here are some ways you can contribute:

About

A cyber typist which will help you fix your edmx files. It formats the names of Entities, properties and more on an configurable, automated way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published