LINQ Create Table?!!
LINQ
1
Posts
1
Posters
2
Views
1
Watching
-
Hi, I have designed a database in SQLCE for my app. I've also generated the dbml files from that to code against. All working great so far. The only thing I'm confused on at the moment is creating new tables of the same structure as one already defined. Obviously any tables created 'live' by users will exist outside of the defined LINQ datacontext (as defined in the class build by SQLMetal. I've found a few things related to using
System.Reflection
to get around this and as I understand it lINQ can drop a database and rebuild it based on the dbml/xml/datacontext but can it easily create a new table of the same structure as one defined in the datacontext? Cheers,Jammer Going where everyone here has gone before! :) My Blog