private static void PopulateSpecialEmployee_Car(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["Person0"], "Car", resourceLookup["Car1"]);
     updatable.SetReference(resourceLookup["Person1"], "Car", resourceLookup["Car3"]);
     updatable.SetReference(resourceLookup["Person3"], "Car", resourceLookup["Car3"]);
 }
 private static void PopulateLogin_SentMessages(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.AddReferenceToCollection(resourceLookup["Login0"], "SentMessages", resourceLookup["Message0"]);
     updatable.SetReference(resourceLookup["Message0"], "Sender", resourceLookup["Login0"]);
     updatable.AddReferenceToCollection(resourceLookup["Login1"], "SentMessages", resourceLookup["Message1"]);
     updatable.SetReference(resourceLookup["Message1"], "Sender", resourceLookup["Login1"]);
     updatable.AddReferenceToCollection(resourceLookup["Login3"], "SentMessages", resourceLookup["Message3"]);
     updatable.SetReference(resourceLookup["Message3"], "Sender", resourceLookup["Login3"]);
     updatable.AddReferenceToCollection(resourceLookup["Login3"], "SentMessages", resourceLookup["Message4"]);
     updatable.SetReference(resourceLookup["Message4"], "Sender", resourceLookup["Login3"]);
     updatable.AddReferenceToCollection(resourceLookup["Login3"], "SentMessages", resourceLookup["Message5"]);
     updatable.SetReference(resourceLookup["Message5"], "Sender", resourceLookup["Login3"]);
     updatable.AddReferenceToCollection(resourceLookup["Login5"], "SentMessages", resourceLookup["Message6"]);
     updatable.SetReference(resourceLookup["Message6"], "Sender", resourceLookup["Login5"]);
     updatable.AddReferenceToCollection(resourceLookup["Login0"], "SentMessages", resourceLookup["Message7"]);
     updatable.SetReference(resourceLookup["Message7"], "Sender", resourceLookup["Login0"]);
     updatable.AddReferenceToCollection(resourceLookup["Login5"], "SentMessages", resourceLookup["Message8"]);
     updatable.SetReference(resourceLookup["Message8"], "Sender", resourceLookup["Login5"]);
     updatable.AddReferenceToCollection(resourceLookup["Login8"], "SentMessages", resourceLookup["Message9"]);
     updatable.SetReference(resourceLookup["Message9"], "Sender", resourceLookup["Login8"]);
 }
 private static void PopulateDriver_License(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["Driver0"], "License", resourceLookup["License0"]);
     updatable.SetReference(resourceLookup["License0"], "Driver", resourceLookup["Driver0"]);
     updatable.SetReference(resourceLookup["Driver1"], "License", resourceLookup["License1"]);
     updatable.SetReference(resourceLookup["License1"], "Driver", resourceLookup["Driver1"]);
     updatable.SetReference(resourceLookup["Driver4"], "License", resourceLookup["License3"]);
     updatable.SetReference(resourceLookup["License3"], "Driver", resourceLookup["Driver4"]);
     updatable.SetReference(resourceLookup["Driver3"], "License", resourceLookup["License4"]);
     updatable.SetReference(resourceLookup["License4"], "Driver", resourceLookup["Driver3"]);
     updatable.SetReference(resourceLookup["Driver5"], "License", resourceLookup["License5"]);
     updatable.SetReference(resourceLookup["License5"], "Driver", resourceLookup["Driver5"]);
     updatable.SetReference(resourceLookup["Driver6"], "License", resourceLookup["License6"]);
     updatable.SetReference(resourceLookup["License6"], "Driver", resourceLookup["Driver6"]);
     updatable.SetReference(resourceLookup["Driver7"], "License", resourceLookup["License7"]);
     updatable.SetReference(resourceLookup["License7"], "Driver", resourceLookup["Driver7"]);
     updatable.SetReference(resourceLookup["Driver8"], "License", resourceLookup["License8"]);
     updatable.SetReference(resourceLookup["License8"], "Driver", resourceLookup["Driver8"]);
     updatable.SetReference(resourceLookup["Driver9"], "License", resourceLookup["License9"]);
     updatable.SetReference(resourceLookup["License9"], "Driver", resourceLookup["Driver9"]);
 }
 private static void PopulatePerson_PersonMetadata(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.AddReferenceToCollection(resourceLookup["Person0"], "PersonMetadata", resourceLookup["PersonMetadata0"]);
     updatable.SetReference(resourceLookup["PersonMetadata0"], "Person", resourceLookup["Person0"]);
     updatable.AddReferenceToCollection(resourceLookup["Person0"], "PersonMetadata", resourceLookup["PersonMetadata1"]);
     updatable.SetReference(resourceLookup["PersonMetadata1"], "Person", resourceLookup["Person0"]);
     updatable.AddReferenceToCollection(resourceLookup["Person0"], "PersonMetadata", resourceLookup["PersonMetadata3"]);
     updatable.SetReference(resourceLookup["PersonMetadata3"], "Person", resourceLookup["Person0"]);
     updatable.AddReferenceToCollection(resourceLookup["Person1"], "PersonMetadata", resourceLookup["PersonMetadata4"]);
     updatable.SetReference(resourceLookup["PersonMetadata4"], "Person", resourceLookup["Person1"]);
     updatable.AddReferenceToCollection(resourceLookup["Person3"], "PersonMetadata", resourceLookup["PersonMetadata5"]);
     updatable.SetReference(resourceLookup["PersonMetadata5"], "Person", resourceLookup["Person3"]);
     updatable.AddReferenceToCollection(resourceLookup["Person3"], "PersonMetadata", resourceLookup["PersonMetadata6"]);
     updatable.SetReference(resourceLookup["PersonMetadata6"], "Person", resourceLookup["Person3"]);
     updatable.AddReferenceToCollection(resourceLookup["Person5"], "PersonMetadata", resourceLookup["PersonMetadata7"]);
     updatable.SetReference(resourceLookup["PersonMetadata7"], "Person", resourceLookup["Person5"]);
     updatable.AddReferenceToCollection(resourceLookup["Person6"], "PersonMetadata", resourceLookup["PersonMetadata8"]);
     updatable.SetReference(resourceLookup["PersonMetadata8"], "Person", resourceLookup["Person6"]);
     updatable.AddReferenceToCollection(resourceLookup["Person6"], "PersonMetadata", resourceLookup["PersonMetadata9"]);
     updatable.SetReference(resourceLookup["PersonMetadata9"], "Person", resourceLookup["Person6"]);
 }
 private static void PopulateLogin_PageViews(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["PageView0"], "Login", resourceLookup["Login1"]);
     updatable.SetReference(resourceLookup["PageView1"], "Login", resourceLookup["Login3"]);
     updatable.SetReference(resourceLookup["PageView3"], "Login", resourceLookup["Login3"]);
     updatable.SetReference(resourceLookup["PageView4"], "Login", resourceLookup["Login4"]);
     updatable.SetReference(resourceLookup["PageView5"], "Login", resourceLookup["Login0"]);
     updatable.SetReference(resourceLookup["PageView6"], "Login", resourceLookup["Login8"]);
     updatable.SetReference(resourceLookup["PageView7"], "Login", resourceLookup["Login0"]);
     updatable.SetReference(resourceLookup["PageView8"], "Login", resourceLookup["Login8"]);
     updatable.SetReference(resourceLookup["PageView9"], "Login", resourceLookup["Login4"]);
 }
 private static void PopulateComputer_ComputerDetail(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["Computer0"], "ComputerDetail", resourceLookup["ComputerDetail0"]);
     updatable.SetReference(resourceLookup["ComputerDetail0"], "Computer", resourceLookup["Computer0"]);
     updatable.SetReference(resourceLookup["Computer1"], "ComputerDetail", resourceLookup["ComputerDetail1"]);
     updatable.SetReference(resourceLookup["ComputerDetail1"], "Computer", resourceLookup["Computer1"]);
     updatable.SetReference(resourceLookup["Computer3"], "ComputerDetail", resourceLookup["ComputerDetail3"]);
     updatable.SetReference(resourceLookup["ComputerDetail3"], "Computer", resourceLookup["Computer3"]);
     updatable.SetReference(resourceLookup["Computer4"], "ComputerDetail", resourceLookup["ComputerDetail4"]);
     updatable.SetReference(resourceLookup["ComputerDetail4"], "Computer", resourceLookup["Computer4"]);
     updatable.SetReference(resourceLookup["Computer5"], "ComputerDetail", resourceLookup["ComputerDetail5"]);
     updatable.SetReference(resourceLookup["ComputerDetail5"], "Computer", resourceLookup["Computer5"]);
     updatable.SetReference(resourceLookup["Computer6"], "ComputerDetail", resourceLookup["ComputerDetail6"]);
     updatable.SetReference(resourceLookup["ComputerDetail6"], "Computer", resourceLookup["Computer6"]);
     updatable.SetReference(resourceLookup["Computer7"], "ComputerDetail", resourceLookup["ComputerDetail7"]);
     updatable.SetReference(resourceLookup["ComputerDetail7"], "Computer", resourceLookup["Computer7"]);
     updatable.SetReference(resourceLookup["Computer8"], "ComputerDetail", resourceLookup["ComputerDetail8"]);
     updatable.SetReference(resourceLookup["ComputerDetail8"], "Computer", resourceLookup["Computer8"]);
     updatable.SetReference(resourceLookup["Computer9"], "ComputerDetail", resourceLookup["ComputerDetail9"]);
     updatable.SetReference(resourceLookup["ComputerDetail9"], "Computer", resourceLookup["Computer9"]);
 }
 private static void PopulateHusband_Wife(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["Customer0"], "Wife", resourceLookup["Customer0"]);
     updatable.SetReference(resourceLookup["Customer0"], "Husband", resourceLookup["Customer0"]);
     updatable.SetReference(resourceLookup["Customer1"], "Wife", resourceLookup["Customer1"]);
     updatable.SetReference(resourceLookup["Customer1"], "Husband", resourceLookup["Customer1"]);
     updatable.SetReference(resourceLookup["Customer3"], "Wife", resourceLookup["Customer3"]);
     updatable.SetReference(resourceLookup["Customer3"], "Husband", resourceLookup["Customer3"]);
     updatable.SetReference(resourceLookup["Customer4"], "Wife", resourceLookup["Customer4"]);
     updatable.SetReference(resourceLookup["Customer4"], "Husband", resourceLookup["Customer4"]);
     updatable.SetReference(resourceLookup["Customer5"], "Wife", resourceLookup["Customer5"]);
     updatable.SetReference(resourceLookup["Customer5"], "Husband", resourceLookup["Customer5"]);
     updatable.SetReference(resourceLookup["Customer6"], "Wife", resourceLookup["Customer6"]);
     updatable.SetReference(resourceLookup["Customer6"], "Husband", resourceLookup["Customer6"]);
     updatable.SetReference(resourceLookup["Customer7"], "Wife", resourceLookup["Customer7"]);
     updatable.SetReference(resourceLookup["Customer7"], "Husband", resourceLookup["Customer7"]);
     updatable.SetReference(resourceLookup["Customer8"], "Wife", resourceLookup["Customer8"]);
     updatable.SetReference(resourceLookup["Customer8"], "Husband", resourceLookup["Customer8"]);
     updatable.SetReference(resourceLookup["Customer9"], "Wife", resourceLookup["Customer9"]);
     updatable.SetReference(resourceLookup["Customer9"], "Husband", resourceLookup["Customer9"]);
 }
 private static void PopulateLogin_RSAToken(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["RSAToken0"], "Login", resourceLookup["Login0"]);
     updatable.SetReference(resourceLookup["RSAToken1"], "Login", resourceLookup["Login1"]);
     updatable.SetReference(resourceLookup["RSAToken3"], "Login", resourceLookup["Login3"]);
     updatable.SetReference(resourceLookup["RSAToken4"], "Login", resourceLookup["Login5"]);
     updatable.SetReference(resourceLookup["RSAToken5"], "Login", resourceLookup["Login4"]);
     updatable.SetReference(resourceLookup["RSAToken6"], "Login", resourceLookup["Login6"]);
     updatable.SetReference(resourceLookup["RSAToken7"], "Login", resourceLookup["Login7"]);
     updatable.SetReference(resourceLookup["RSAToken8"], "Login", resourceLookup["Login8"]);
     updatable.SetReference(resourceLookup["RSAToken9"], "Login", resourceLookup["Login9"]);
 }
 private static void PopulateProduct_ProductReview(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.AddReferenceToCollection(resourceLookup["Product0"], "Reviews", resourceLookup["ProductReview0"]);
     updatable.SetReference(resourceLookup["ProductReview0"], "Product", resourceLookup["Product0"]);
     updatable.AddReferenceToCollection(resourceLookup["Product0"], "Reviews", resourceLookup["ProductReview1"]);
     updatable.SetReference(resourceLookup["ProductReview1"], "Product", resourceLookup["Product0"]);
     updatable.AddReferenceToCollection(resourceLookup["Product0"], "Reviews", resourceLookup["ProductReview3"]);
     updatable.SetReference(resourceLookup["ProductReview3"], "Product", resourceLookup["Product0"]);
     updatable.AddReferenceToCollection(resourceLookup["Product0"], "Reviews", resourceLookup["ProductReview4"]);
     updatable.SetReference(resourceLookup["ProductReview4"], "Product", resourceLookup["Product0"]);
     updatable.AddReferenceToCollection(resourceLookup["Product1"], "Reviews", resourceLookup["ProductReview5"]);
     updatable.SetReference(resourceLookup["ProductReview5"], "Product", resourceLookup["Product1"]);
     updatable.AddReferenceToCollection(resourceLookup["Product0"], "Reviews", resourceLookup["ProductReview6"]);
     updatable.SetReference(resourceLookup["ProductReview6"], "Product", resourceLookup["Product0"]);
     updatable.AddReferenceToCollection(resourceLookup["Product3"], "Reviews", resourceLookup["ProductReview7"]);
     updatable.SetReference(resourceLookup["ProductReview7"], "Product", resourceLookup["Product3"]);
     updatable.AddReferenceToCollection(resourceLookup["Product3"], "Reviews", resourceLookup["ProductReview8"]);
     updatable.SetReference(resourceLookup["ProductReview8"], "Product", resourceLookup["Product3"]);
     updatable.AddReferenceToCollection(resourceLookup["Product9"], "Reviews", resourceLookup["ProductReview9"]);
     updatable.SetReference(resourceLookup["ProductReview9"], "Product", resourceLookup["Product9"]);
 }
 private static void PopulateProduct_ProductDetail(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["Product0"], "Detail", resourceLookup["ProductDetail1"]);
     updatable.SetReference(resourceLookup["ProductDetail1"], "Product", resourceLookup["Product0"]);
     updatable.SetReference(resourceLookup["Product1"], "Detail", resourceLookup["ProductDetail0"]);
     updatable.SetReference(resourceLookup["ProductDetail0"], "Product", resourceLookup["Product1"]);
     updatable.SetReference(resourceLookup["Product3"], "Detail", resourceLookup["ProductDetail3"]);
     updatable.SetReference(resourceLookup["ProductDetail3"], "Product", resourceLookup["Product3"]);
     updatable.SetReference(resourceLookup["Product4"], "Detail", resourceLookup["ProductDetail4"]);
     updatable.SetReference(resourceLookup["ProductDetail4"], "Product", resourceLookup["Product4"]);
     updatable.SetReference(resourceLookup["Product5"], "Detail", resourceLookup["ProductDetail5"]);
     updatable.SetReference(resourceLookup["ProductDetail5"], "Product", resourceLookup["Product5"]);
     updatable.SetReference(resourceLookup["Product6"], "Detail", resourceLookup["ProductDetail8"]);
     updatable.SetReference(resourceLookup["ProductDetail8"], "Product", resourceLookup["Product6"]);
     updatable.SetReference(resourceLookup["Product7"], "Detail", resourceLookup["ProductDetail7"]);
     updatable.SetReference(resourceLookup["ProductDetail7"], "Product", resourceLookup["Product7"]);
     updatable.SetReference(resourceLookup["Product8"], "Detail", resourceLookup["ProductDetail6"]);
     updatable.SetReference(resourceLookup["ProductDetail6"], "Product", resourceLookup["Product8"]);
     updatable.SetReference(resourceLookup["Product9"], "Detail", resourceLookup["ProductDetail9"]);
     updatable.SetReference(resourceLookup["ProductDetail9"], "Product", resourceLookup["Product9"]);
 }
 private static void PopulateProduct_OrderLines(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["OrderLine0"], "Product", resourceLookup["Product0"]);
     updatable.SetReference(resourceLookup["OrderLine1"], "Product", resourceLookup["Product0"]);
     updatable.SetReference(resourceLookup["OrderLine3"], "Product", resourceLookup["Product0"]);
     updatable.SetReference(resourceLookup["OrderLine4"], "Product", resourceLookup["Product1"]);
     updatable.SetReference(resourceLookup["OrderLine5"], "Product", resourceLookup["Product3"]);
     updatable.SetReference(resourceLookup["OrderLine6"], "Product", resourceLookup["Product3"]);
     updatable.SetReference(resourceLookup["OrderLine7"], "Product", resourceLookup["Product3"]);
     updatable.SetReference(resourceLookup["OrderLine8"], "Product", resourceLookup["Product6"]);
     updatable.SetReference(resourceLookup["OrderLine9"], "Product", resourceLookup["Product5"]);
 }
 private static void PopulateCustomer_Logins(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.AddReferenceToCollection(resourceLookup["Customer0"], "Logins", resourceLookup["Login0"]);
     updatable.SetReference(resourceLookup["Login0"], "Customer", resourceLookup["Customer0"]);
     updatable.AddReferenceToCollection(resourceLookup["Customer1"], "Logins", resourceLookup["Login1"]);
     updatable.SetReference(resourceLookup["Login1"], "Customer", resourceLookup["Customer1"]);
     updatable.AddReferenceToCollection(resourceLookup["Customer0"], "Logins", resourceLookup["Login3"]);
     updatable.SetReference(resourceLookup["Login3"], "Customer", resourceLookup["Customer0"]);
     updatable.AddReferenceToCollection(resourceLookup["Customer3"], "Logins", resourceLookup["Login4"]);
     updatable.SetReference(resourceLookup["Login4"], "Customer", resourceLookup["Customer3"]);
     updatable.AddReferenceToCollection(resourceLookup["Customer3"], "Logins", resourceLookup["Login5"]);
     updatable.SetReference(resourceLookup["Login5"], "Customer", resourceLookup["Customer3"]);
     updatable.AddReferenceToCollection(resourceLookup["Customer3"], "Logins", resourceLookup["Login6"]);
     updatable.SetReference(resourceLookup["Login6"], "Customer", resourceLookup["Customer3"]);
     updatable.AddReferenceToCollection(resourceLookup["Customer5"], "Logins", resourceLookup["Login7"]);
     updatable.SetReference(resourceLookup["Login7"], "Customer", resourceLookup["Customer5"]);
     updatable.AddReferenceToCollection(resourceLookup["Customer4"], "Logins", resourceLookup["Login8"]);
     updatable.SetReference(resourceLookup["Login8"], "Customer", resourceLookup["Customer4"]);
     updatable.AddReferenceToCollection(resourceLookup["Customer7"], "Logins", resourceLookup["Login9"]);
     updatable.SetReference(resourceLookup["Login9"], "Customer", resourceLookup["Customer7"]);
 }
 private static void PopulateCustomer_CustomerInfo(Microsoft.OData.Service.IUpdatable updatable, System.Collections.Generic.Dictionary<string, object> resourceLookup)
 {
     updatable.SetReference(resourceLookup["Customer0"], "Info", resourceLookup["CustomerInfo0"]);
     updatable.SetReference(resourceLookup["Customer1"], "Info", resourceLookup["CustomerInfo1"]);
     updatable.SetReference(resourceLookup["Customer3"], "Info", resourceLookup["CustomerInfo3"]);
     updatable.SetReference(resourceLookup["Customer4"], "Info", resourceLookup["CustomerInfo4"]);
     updatable.SetReference(resourceLookup["Customer5"], "Info", resourceLookup["CustomerInfo5"]);
     updatable.SetReference(resourceLookup["Customer6"], "Info", resourceLookup["CustomerInfo6"]);
     updatable.SetReference(resourceLookup["Customer7"], "Info", resourceLookup["CustomerInfo7"]);
     updatable.SetReference(resourceLookup["Customer8"], "Info", resourceLookup["CustomerInfo8"]);
     updatable.SetReference(resourceLookup["Customer9"], "Info", resourceLookup["CustomerInfo9"]);
 }