private static void Manera1(OTMContext context)
 {
     Entities.User user = new Entities.User
     {
         UserName = "******",
     };
     context.Users.Add(user);
     Entities.Document document = new Entities.Document
     {
         Name = "DA2.txt",
         User = user,
     };
     context.Documents.Add(document);
     context.SaveChanges();
 }
 private static void Manera2(OTMContext context)
 {
     Entities.Document document = new Entities.Document
     {
         Name = "DA1.txt",
     };
     context.Documents.Add(document);
     Entities.User user = new Entities.User
     {
         UserName = "******",
     };
     user.Documents.Add(document);
     context.Users.Add(user);
     context.SaveChanges();
 }