Hello, I download the DataObject.net 4.2 for check it and test it and I have run the samples all is OK no problem. My question is, how can I create the Model from existing Database like for example from Northwind. I have see how from model the program create and update the database, but how can I do the other side, to tell to create all the files that I need to communicate with Northwind. I make a lot of search on Internet and did not found an answer, thats why I am asking here. thank you in advanced. This thread was imported from our support forum. The original discussion may contain more detailed answer. Original topic by Charalampos. |
Alex (Xtensive) wrote:Currently there is no way to do this: DO4 support only code first pattern, but not ActiveRecord / reverse engineer patterns. We're planning to add ActiveRecord pattern ASAP. Alex (Xtensive) wrote:This will be definitely done. We already have most important parts working (here we need mainly cross-DB schema extraction, and it is already there). So basically, we must develop abstract converters of extracted schema to code model to be used with T4 (again, we have the model itself - our XxxDef types), and add such converters for .edmx, etc. later.
Not really much of work, but... Lack of time. motuzko wrote:
Trying to resurrect the conversation... Any progress/ETA on the existing database import? Unfortunately, there is no progress on this as the .NET 4.0 support is much more demanding for the overwhelming majority of the customers, so we've been busy with that. Charalampos wrote: Thank you for your answer. Please think for future develop (I believe for you this is easy) to create (maybe using T4 files on MS) the model from Database. |