Is it possible to read CSV file using Entiry Framework 4 such that it should give me an entity that I can use it normally within my application?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think that there is a CSV adapter for EF4, but you could always use a Linq-to-CSV concept for small CSV files. The results of your queries could be mapped into your EF objects and written to tables or just used in your data access layer as an additional data source.