简体   繁体   English

No-SQL可以与xna和c#或vb.net一起用于xbox 360吗?

[英]Can No-SQL be used on the xbox 360 with xna and c# or vb.net?

我想知道他们是完全用c#编写的,用于no-sql的dll库,可以创建用于xbox 360的数据库吗?

BerkeleyDB is a KeyValue embedded database, essentially the NoSQL equivalent of SQLite. BerkeleyDB是一个KeyValue嵌入式数据库,本质上与SQLite的NoSQL等价。 Here is a C# Tutorial . 这是C#教程

However, I strongly suggest finding an alternative solution to this. 但是,我强烈建议您找到一种替代解决方案。 Unless you have a ton of data you're better off holding all your objects in RAM and persisting on a need basis with a JSON, XML, or whatever you want serializer. 除非您有大量数据,否则最好将所有对象保存在RAM中,并根据需要使用JSON,XML或任何您想要的序列化器持久化。 LINQ makes it incredibly easy to query in-memory objects the same way you'd query a database. LINQ使查询内存中的对象变得非常容易,就像查询数据库一样。

I found another possible solution thats open source : http://ostrivdb.codeplex.com/ 我找到了另一个可能的解决方案,即开放源代码: http : //ostrivdb.codeplex.com/

The reason for this is coding for xml on xbox byitself sucks and gets too complicated in a massive game project. 原因是在大型游戏项目中,xbox上的xml自身编码很烂,而且变得太复杂。

I will still click on Dharuns answer because he updated with c# tutorial but I wanted to show what I was talking about. 我仍将单击Dharuns答案,因为他已更新了c#教程,但我想展示我在说什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM