I am looking for a few suggestions on how I can integrate database functionality into my WPF application for fast and efficient query processing. Are there libraries I can integrate, or does C# have this built in.
What I intend to have is several tables with less than one thousand entries each. This data is read from an XML file when the application launches and is inserted into tables. All data should reside in memory so no filesystem support is necessary.
Look at ADO.net’s DataSet: http://msdn.microsoft.com/en-us/library/ss7fbaez.aspx (emphasis mine):
See http://msdn.microsoft.com/en-us/library/fx29c3yd.aspx for specifics on “Loading a DataSet from XML”.
This is available by default in ADO.Net – one of the base .Net libraries, so it is immediately usable from C# without any additional dependencies. (Technically, C# is just a language – it doesn’t provide any libraries.)