如何解决如何在Oracle数据库表中存储阵列?
大家好,我正在学习Angular, 在视频教程中,他们使用Firebase作为后端 但是现在我想在asp.net核心中创建WebAPI以使用oracle DB来获取和存储数据
这是我的Firebase数据库布局, 我正在Oracle DB中创建以下列以存储数据-名称,描述,图像路径,成分
我的问题是如何在表格中存储多种成分?和 什么是表结构?
在Angular中创建的模型
import { Ingredient } from '../shared/imgredient.model';
export class RecipeModal {
public name: string;
public description: string;
public imagepath: string;
public ingredients: Ingredient[];
constructor(name: string,desc: string,imagepath: string,ing: Ingredient[]) {
this.name = name;
this.description = desc;
this.imagepath = imagepath;
this.ingredients = ing;
}
}
请帮助
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。