I have to work on an desktop application with WinForms/ C#, SQL server and EF 4.
DAL has been implemented using Repository and UoW paterns. Data is being used just for read only purposes. Can you please adivce how Data base can be removed and application can be modified to work by using data from some files, XML or in memory collections.
Please guide how it can be done usign least changes.
There is no direct suport for EF to XML as data source. As you are using Repository you are some what safe do not need to change whole set of code. You need to write one more repository using LinqToXML which will map XML values to your POCO.