English 中文(简体)
在 MonoTouch 中使用 CoreData 吗?
原标题:Use CoreData in MonoTouch?

I have seen that there are so wonderful ways in Xcode to design your CoreData models - is there a way to make use of this and CoreData in general in MonoTouch 5? Any tutorials or examples?

最佳回答

也许不是直接回答您的问题,但可能是您 正在寻找的东西:

  • < a href=" "https://github.com/praeclarum/sqlite-net" rel=“noreferrer” >Sqlite-net 是一个开放源,最小库,允许.NET和 Mono 应用程序将数据存储在 SQLite 3 数据库中。 < - 您正在使用但未来参考的代码

  • Vici CololorStorage 是完全打印的.NET 3.5的物体关系绘图库,Windows Phone, MonoTouch 和Android的单体

  • >Catnap 是.NET的基本轻质ORM。它使用ADO.NET API。该项目包括一个用于Sqlite的适配器,并用System.Data.Sqlite和Mono.Data.Sqlite进行测试。

  • https://github.com/jstedfast/MonoTouch.SQLite" rel=“noreferrer” >MonoTouch.SQLite 一个抽象的UITable ViewC主计长,使从 SQLite 表格显示数据更加简单。

  • < a href=>" "http://code.google.com/p/entify/" rel=" noreferrer" > >Entify 是用于桌面和移动应用程序的实体框架。 它的目标是稳定和易于使用的库, 且不费力地使用任何应用程序。 它有视觉设计师, 能够让开发者容易和迅速地定义应用数据模型 。

    • Just a side note on entify, it has not been updated since Apr 11, 2010 so idk if it still works

关于 MonoTouch CoreData ,我唯一能找到的就是

希望这能帮上忙

亚历克斯

问题回答

这是单调中CoreData的文件

http://sgmunn.com/blog/2010/10/coredata-in-monotouch/" rel="notfollow noreferrer"。 博客文章 已近两年,

然而,与你的问题最相关的是,这个错误/request 是用来将Xcode工具融入单体的。它似乎甚至尚未开发中。

Edit: You can also use /Applications/Xcode.app/Contents/Developer/usr/bin/momc <source xcdatamodel> <absolute path to target> to generate the .momd. I m still working on getting it integrated better - see this question.





相关问题
iPhone Core Data Recursive Relationships

I m having some trouble with a recursive relationship in core data. I ve got a managed object called a "SearchCategory", and that category can have "Categories" and it can also have a "Category." In ...

Plist Hierarchy and All Option

I have a string of data in a plist, which I ve got to display, hierarchically like this: Menu>Chapter>SubChapter>item>item details This might be super simple, in my initial menu, how would I have ...

Fetched Properties v Relationships (Core Data - iPhone)

I m a new iPhone developer (of about 4 months or so) who is starting to look at Core Data. In the "Beginning iPhone 3 Development" book by Dave Mark it mentions that the main difference between ...

Cocoa Core Data newbie how-tos

I am one of the great unwashed masses of .NET developers keen to try their hands at Mac OS X development. At the moment I am trying to figure out the various elements of Cocoa and getting a bit stuck ...

中间储存的核心数据

我想将核心数据作为输入数据库服务器更大数据集的切身。

Limit the returned resultset in CoreData

In CoreData, if I want to limit the returned resultset to 100, is it enough to just set the fetch limit to 100, or do I need to set the fetch batch size to 100 as well?

热门标签