entity framework - Storing arbitrary complex objects in c# to database -
i programming multiple api's. till have created classes use ef syntax (id = classnameid etc...) , convert whatever item being returned ef object. since i'm using c# wrappers (created whatever company created api) api's can't alter whatever class want store database use ef syntax. there project allow me dynamically generate tables , columns generic object using run time reflection?
keep in mind many of complex objects have within them complex objects.
as of right i'm considering writing script generate inherited classes each of complex types (identified via reflection) , inserting id (and whetever other information ef need generate db) inherited class. little complicated require implicit conversions ienumerable ienumerable.
any appreciated.
thank you.
what need schema-less database, mongodb or ravendb instead of relational. these allows said in title: store arbitraty complex objects in db.
Comments
Post a Comment