.Net: how to create vendor independent Dataset, Tableadapters, bindings (DB decided at runtime)
问题 I have a C# Windows Forms application, whose prototype was created on SQL Server (strongly-typed dataset). In its final version, the application must be able to work over SQL Server, MySQL or Oracle. Now I am wondering which parts (if any) can be reused from the prototype. 1. Dataset (typed) ? 2. TableAdapters? (probably not, they contain SQL Server-specific syntax) 3. Bindings to DataGridViews Most importantly, if we need to re-implement all this, is there a way to do this at design-time? Or