OrmLite: Add Fluent API as alternative to decorating classes with attributes
My suggestion is to add a Fluent API as alternative to decorating classes with attributes.
This decouples the classes from bloated attribute declarations and makes them more modular and decoupled.
3
votes
ServiceStack lets you programmatically add attributes to types used in its libraries, e.g:
https://docs.servicestack.net/reflection-utils#dynamically-adding-attributes
This can be made less verbose with custom extension methods if desired, we’re not adding any alternative fluent support beyond this.