What are the best practices to creating a Generic DataAccess Layer in C# 3.5. Dose LINQ to SQL have any support for Other DataSources like MySQL , Oracle etc.
R – Generic DataAccess Layer in C# 3.5
data-access-layergenerics
Related Topic
- C# – How to use reflection to call a generic method
- Java – How to make the method return type generic
- Java – How to create a generic array in Java
- Java – What are the reasons why Map.get(Object key) is not (fully) generic
- R – ASP.NET : database independent data accses layer
- Java – How to get a class instance of generic type T
- Python – Separation of business logic and data access in django
- C# – Case insensitive access for generic dictionary
Best Answer
LINQ to SQL is SQL Server only, and is likely to remain that way. If you want support for other databases then use LINQ To Entities. You can read a comparison between LINQ to SQL and LINQ to Entities here.