Ejemplo n.º 1
0
 /// <summary>
 ///     加载
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ctlMatchItem_Load(object sender, EventArgs e)
 {
     Common.Utility.FillComberWithArray(cmbComparisonfunction, AggregationHelper.GetComparisonfunction(), true);
     if (RuntimeMongoDbContext.GetCurrentCollection() != null)
     {
         foreach (var item in MongoHelper.GetCollectionSchame(RuntimeMongoDbContext.GetCurrentCollection()))
         {
             cmbField.Items.Add(item);
         }
     }
 }
Ejemplo n.º 2
0
 private void ctlMatchItem_Load(object sender, EventArgs e)
 {
     foreach (string item in AggregationHelper.GetComparisonfunction())
     {
         cmbComparisonfunction.Items.Add(item);
     }
     if (SystemManager.GetCurrentCollection() != null)
     {
         foreach (string item in MongoDbHelper.GetCollectionSchame(SystemManager.GetCurrentCollection()))
         {
             cmbField.Items.Add(item);
         }
     }
 }
Ejemplo n.º 3
0
 private void ctlMatchItem_Load(object sender, EventArgs e)
 {
     foreach (var item in AggregationHelper.GetComparisonfunction())
     {
         cmbComparisonfunction.Items.Add(item);
     }
     if (RuntimeMongoDbContext.GetCurrentCollection() != null)
     {
         foreach (
             var item in
             MongoHelper.GetCollectionSchame(RuntimeMongoDbContext.GetCurrentCollection())
             )
         {
             cmbField.Items.Add(item);
         }
     }
 }