Exemple #1
0
 public void TestFactory([DataSources(false)] string context)
 {
     using (var db = new FactoryDataConnection(context))
     {
         db.GetTable <Child>().LoadWith(p => p.Parent !.Children).First();
     }
 }
 public void TestFactory([DataSources(false)] string context, [Values] bool providerSpecific)
 {
     using (new AllowMultipleQuery())
         using (new AvoidSpecificDataProviderAPI(providerSpecific))
             using (var db = new FactoryDataConnection(context))
             {
                 db.GetTable <Child>().LoadWith(p => p.Parent.Children).First();
             }
 }