So my database has a column which is a comma seperated list of category ID's, like:
"1,234,234,23,343,53"
My class will have a List property that will expose these ID's in a collection form.
If someone wants to add a CategoryID, they just do:
myList.Add(234);
BUT, when it is time to save to the database, I will have to convert the collection back to a comma seperated list.
What is the best way to do this? should I make the comma-seperated list of integers private?