I'm using MVC 5 Core on my Web API and I wanted to know what is the most optimal way of storing an Array into a database? Should I store Arrays, does it matter, or should I parse the array and input them individually into their own separate rows?
By optimally, I mean being able to have more control over the data and cutdown on load times. Should I be inputting Arrays into a database or parse them and put them in separate rows?
Database: MSSQL
This is my model code
namespace backend.Models
{
public class Portfolio
{
public string ProjectName { get; set; }
public string ProjectRole { get; set; }
public string ProjectTech { get; set; }
public string[] ProjectDescriptions { get; set; }
}
}