sapiens / SqlFu

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

How can I avoid using data annotation attributes in POCOs? #13

Closed CaspianCanuck closed 10 years ago

CaspianCanuck commented 11 years ago

Hi,

I'd like to avoid using database schema-related data annotation attributes in my POCO classes. Is there a way to configure all POCO-to-table mappings in a separate configuration class?

sapiens commented 11 years ago

You can use the DDL FluentBuilder. If you are referring to something like EF metadata, I'm still thinking if I'll add that feature.