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; } }
public ViewQueryGenModel() { GenType = ViewQueryGenType.Get; WhereColumns = new List<IColumnInfo>(); OrderBy = new List<OrderByItem>(); }