示例#1
0
 private void GenTypePage_Commit(object sender, AeroWizard.WizardPageConfirmEventArgs e)
 {
     if (rbGet.Checked)
     {
         GenType = ViewQueryGenType.Get;
     }
     if (rbGetList.Checked)
     {
         GenType = ViewQueryGenType.GetList;
     }
     if (rbPaged.Checked)
     {
         GenType = ViewQueryGenType.Paged;
     }
     if (rbTop.Checked)
     {
         GenType = ViewQueryGenType.Top;
     }
     if (rbExist.Checked)
     {
         GenType = ViewQueryGenType.Exist;
     }
     if (rbCount.Checked)
     {
         GenType = ViewQueryGenType.Count;
     }
 }
示例#2
0
 public ViewQueryGenModel()
 {
     GenType = ViewQueryGenType.Get;
     WhereColumns = new List<IColumnInfo>();
     OrderBy = new List<OrderByItem>();
 }