正确的数据存储 [英] Proper Data Storage

查看:78
本文介绍了正确的数据存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列表<>作为列表的类别的列表.食谱,我会
将所有配方的类别列表序列化为存储.问题是为什么不呢.

I have a List<> of Categories that are a List<> of Recipes and I will
Serialize the List of Categories as Storage for all recipes. Question is why not. and could you give me an outline for a proper Recipe DB.

推荐答案

您的问题尚不完全清楚,但您似乎想序列化通用列表,因此 http://dotnetperls.com/serialize-list [ ^ ]是一个示例.

就配方数据库而言,没有正确"的方案.所需的内容在很大程度上取决于您如何设计食谱,而在这样的论坛(仅用于简短答案)中,要回答的内容就太复杂了.

我可以建议您使用开放源代码配方数据库之类的工具进行Internet搜索.您将获得大量点击,其中一些将具有源代码和数据库模式.
Your question is not entirely clear but you appear to want to serialize a generic list, so http://dotnetperls.com/serialize-list[^] is an example of that.

As far as a Recipe DB is concerned there is no ''right'' schema for this. What is required depends too much on how you envisage a recipe and is far to complex to be answered in a forum like this, which is designed for short answers.

Can I suggest that you do an internet search using something like open source recipe database. You will get loads and loads of hits, some of those will have the source code and database schemas.


这篇关于正确的数据存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆