c# - Using Entity Framework mapping generic list List<string> to the sql server table column -


i'm working on create sql server database table different column save data in class definition property list , i'm wondering how create column capture data generic list.

here sample class:

public class customerdata  {          public long id {get; set;}          public string title {get; set;}          public list<string> tags {get; set}  } 

i'm not using code first approach, i'm manually mapping class properties table column after creating entity context because class part of different library , don't have access it.

any input helpful.


Comments