I'm retrieving a row from a database that has an attribute which is a comma separated list of ID's
1,2,3,4,5
In my POCO is it possible to do something like this to get an array back?
public string SomeIDs
{
get
{
return SomeIDs.split(',');
}
set;
}
Edit: Sorry, to clarify, I am setting with a string and want to return a string array
splitshould beSplit...