LINQ to SQL for an existing database
I have a current project that uses LINQ to SQL to create a database and then to work with the data.
I also have another database which already exists and I do not need to create it. Do you know any tool that can generate the data model for my existing database?
Note: my database is pretty flat so I don't need to be worried about complex relations
Thanks in advance;
using visual studio, can't you just create a new .dbml file and point it to your database and then generate all the Object Mappers?
Code Generation in LINQ to SQL: