C#C
C#4y ago
Alerin

✅ Can I create a Liststring in mssql ef core?

my models:
public class Template
{
    public int Id { get; set; }
    public string Title { get; set; } = string.Empty; // Nazwa szablonu
    public string Content { get; set; } = string.Empty;
    public string Description { get; set; } = string.Empty;
    public List<string> HashTags{ get; set; } = new();
}

Can I save data like this without creating a new table? This is a template, it will really be used little and I don't care about performance.
Was this page helpful?