EF Core: IEnumerable to separated list of string

C#, SQL Server
The problem In my database I have a column where I store comma separated strings representing a combination of options/features I need to use on the website. It would be nice to be able to access the comma separated items as an IEnumerable so I can use it to - for instance - populate a dropdown list. Some thoughts Of course, I could use entity framework core to get the string value from the database, and then split that string into a list, and use that in my page model. However then I don't know how many times I would need to do that in the future, when I might be building more and more functionality based on this same column. Also, I cannot think of a situation where my…
Read More