sapiens / SqlFu

Fast and versatile .net core data mapper/micro-orm
Other
229 stars 50 forks source link

support System.ComponentModel.DataAnnotations.Schema attributes #35

Closed mdissel closed 10 years ago

mdissel commented 10 years ago

Is it an idea to support the System.ComponentModel.DataAnnotations.Schema attributes instead (or support both) of the custom ones from sqlfu?

sapiens commented 10 years ago

I don't know yet. Can you tell me some benefits if SqlFu would use those attributes? At most I find them lacking.

mdissel commented 10 years ago

Compatibilty with other layers/ re-use of DTO classes and re-use of existing t4 templates. When the standard ones are lacking just subclass them ( if possible) or create sqlfu specific ones..