I need to develop my Data Access for the new solution that I am creating. This solution, although it contains a Compact Framework Device application and libraries other than a working one. All .NET 3.5. The desktop will handle all data access in the main. I need data objects that are in CF too, Desktop will interact with SQL, and then with a mobile phone and give the corresponding data ...
I like LINQ, and I love LINQ 2 SQL more. There is a lot of hype, and I do not buy Microsoft's internal policy on the recommendation of EF. As long as the EF is too heavy and too complicated for someone to choose, in addition, it is still developing, and EF 4 will have major changes when this happens in a few months. But I can’t wait months to create a project as every developer here, I want something now! After that I want to use LINQ 2 SQL, my problem is that I cannot just copy the generated dbml and use the generated classes. I do not need the reason for the DataContext, I am not going to use CRUD or any database operations using the Mobile App. I just want objects. Has anyone ever come to such a situation? The thing is not to write all the classes,manually representing tables. Because I need them for further LINQ to manipulate objects.
Basically, CF-supporting ORM will do the job! But I do not know any incompatibilities that I would meet.
source
share