Entity Framework 6 one to many relationship
问题 I develop web application with Entity framework 6. I have a model Folder that contains a list of Letter object. My letter object: public class Letter { [Key] public int Id [ForeignKey("Folder")] public int FolderId {get; set;} public virtual Folder Folder {get; set;} } I have 2 dbsets in my DbContext: DbSet<Folder> DbSet<Letter> My question is what happens when I add a new Letter? If I later on fetch the folder I added the letters, will those letters be contained in the folder's letters list?