9
Entity Framework - Code First - Can't Store List <String>
Escribí tal clase: class Test { [Key] [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)] public int Id { get; set; } [Required] public List<String> Strings { get; set; } public Test() { Strings = new List<string> { "test", "test2", "test3", "test4" }; } } y internal class DataContext : DbContext { public DbSet<Test> Tests { get; …
106
c#
.net
entity-framework