コード例 #1
0
 private static void BatchMakeN201UDataForMongo()
 {
     using (N201UXIDBeforeMessage nxbm = new N201UXIDBeforeMessage())
     {
         nxbm.CreateCollection();
         Console.WriteLine("N201UXIDBeforeMessage->mongo->ok");
     }
     GC.Collect();
     using (N201UXIDStatics nxs = new N201UXIDStatics())
     {
         nxs.CreateCollection();
         Console.WriteLine("N201UXIDStatics->mongo->ok");
     }
     GC.Collect();
 }
コード例 #2
0
 public IEnumerable<N201UXIDStaticsDocument> getN201UXIDStaticsDocumentSet()
 {
     N201UXIDStatics nxs = new N201UXIDStatics();
     foreach (var tcp in nxs.mongo_fcmr.QueryMongo())
         yield return tcp;
 }