Is there a .NET C# version of the OS X/iOS CoreData? I was reading this post, but it needs to be for C# .NET.
Asked
Active
Viewed 1,068 times
6
-
1What is it exactly you are looking to do.. are you looking at wanting to use Entity Framework..? – MethodMan Jul 23 '12 at 19:21
-
I haven't used CoreData but you could implement a lot of the functionality with a bit of clever thinking and reflection on top of an EF Data Store. From the list of features on the Wikipedia page, EF5 should do 90% of what you want. You should also look into the repository pattern which will probably take you the rest of the way – Basic Jul 23 '12 at 19:44
-
Very similar question: http://stackoverflow.com/questions/10743339/use-coredata-in-monotouch – Kilanash Jul 23 '12 at 19:59
-
The goal is to find something that easy to implement and more robust then xml for storing User data on a client application – DogEatDog Jul 26 '12 at 02:00
2 Answers
4
-
+1 Funny, I've always thought of mono as simply a linux port of the CLR which happens to support iOS (being linux based). I probably wouldn't have thought to recommend it specifically for iOS development – Basic Jul 23 '12 at 19:32
-
-
Mono is not the right solution for this. It is going to be a native .NET client – DogEatDog Jul 26 '12 at 01:59
-
@DogEatDog are you looking for an ORM framework as NHibernate for persistence purposes? – Riccardo Jul 26 '12 at 12:39
-
I'm looking for something that handles the leg work of writing the SQL queries and such. Much like how CoreData works for iOS, or how Django handles it for it's webapps in python. – DogEatDog Oct 17 '12 at 04:01
-
So i suggest you to try NHibernate, it's a framework for .NET that allows you to create an OO domain model from a relational database, in this way you don't have to write any SQL query but you use only the objects. Cheers – Riccardo Oct 18 '12 at 12:02
0
At the time of writing this question, Nhiberate was what we ended up going with as an ORM. Currently, for most projects, we are using Dapper
Update 2022:
The Entity Framework has evolved quite a bit since this question was asked and could certainly fill the role that I was looking for at the time of question.

DogEatDog
- 2,899
- 2
- 36
- 65