Example #1
0
 public AppController()
 {
     Form        = new AppForm();
     CanDelete   = true;
     TitlePlural = "Apps";
     SearchForms.Add(new AppSearchForm(Url));
 }
 public ParadoxTableController()
 {
     CanCreate   = false;
     Form        = new ParadoxTableForm();
     TitlePlural = "Paradox Table";
     SearchForms.Add(new ParadoxTableSearchForm(Url));
 }
Example #3
0
 public PrintLogController()
 {
     CanCreate   = false;
     CanDelete   = true;
     TitlePlural = "Print";
     Form        = new PrintLogForm();
     SearchForms.Add(new PrintLogSearchForm(Url));
 }
Example #4
0
 public ReportUserActivityLogController()
 {
     CanDelete   = false;
     CanCreate   = false;
     ForeignKey  = "ReportId";
     TitlePlural = "Reports";
     SearchForms.Add(new ReportUserActivityLogSearchForm(Url));
 }
 public FileController()
 {
     CanCreate   = false;
     CanDelete   = true;
     Form        = new FileForm();
     TitlePlural = "Files";
     SearchForms.Add(new FileSearchForm(Url));
 }
Example #6
0
 public PrinterController()
 {
     //CanCreate = false;
     //CanDelete = true;
     //ForeignKey = "";
     Form        = new PrinterForm();
     TitlePlural = "Printers";
     SearchForms.Add(new PrinterSearchForm(Url));
 }
Example #7
0
 public ContactController()
 {
     CanCreate = true;
     //CanDelete = true;
     //ForeignKey = "";
     Form        = new ContactForm();
     ReturnTo    = new ReturnTo(this, "Index", null, null, new string[] { "Create", "Edit" });
     TitlePlural = "Contacts";
     SearchForms.Add(new ContactSearchForm(Url));
 }
 public CalendarController()
 {
     //CanCreate = false;
     //CanDelete = true;
     //ForeignKey = "";
     Form        = new CalendarForm();
     ReturnTo    = new ReturnTo(this, "Index", null, "Name", new string[] { "Create", "Edit" });
     TitlePlural = "Calendar";
     SearchForms.Add(new CalendarSearchForm(Url));
 }
Example #9
0
 public ReportUserController()
 {
     CanDelete   = true;
     CanCreate   = false;
     ForeignKey  = "ReportId";
     Form        = new ReportUserForm();
     ReturnTo    = new ReturnTo(new ReportController(), "Edit", "ReportId", "Name", new string[] { "Create", "Edit", "Delete" });
     TitlePlural = "Reports";
     SearchForms.Add(new ReportUserSearchForm(Url));
 }
Example #10
0
 public AppFieldController()
 {
     DB          = new AppFieldModelContext <AppFieldModel>();
     ForeignKey  = "AppId";
     Form        = new AppFieldForm();
     CanDelete   = true;
     ReturnTo    = new ReturnTo(new AppController(), "Edit", "AppId", "Name", new string[] { "Create", "Edit", "Delete" });
     TitlePlural = "App Fields";
     SearchForms.Add(new AppFieldSearchForm(Url));
 }
 public FileDirectoryController()
 {
     //CanCreate = false;
     //CanDelete = true;
     //ForeignKey = "";
     Form        = new FileDirectoryForm();
     ReturnTo    = new ReturnTo(this, "Index", null, "Name", new string[] { "Create", "Edit" });
     TitlePlural = "File Directory";
     SearchForms.Add(new FileDirectorySearchForm(Url));
 }
        //private AppModelContext db = new AppModelContext();
        public MenuController()
        {
            Form        = new MenuForm();
            CanDelete   = true;
            TitlePlural = "Menus";
            ForeignKey  = "ParentId";
            ReturnTo    = new ReturnTo(this, "Edit", "ParentId", "Label", new string[] { "Delete" });


            SearchForms.Add(new MenuSearchForm(Url));
        }
 public RoleController()
 {
     Form = new RoleForm();
     SearchForms.Add(new RoleSearchForm(Url));
     TitlePlural = "Roles";
 }
Example #14
0
 public ReportController()
 {
     Form        = new ReportForm();
     TitlePlural = "Reports";
     SearchForms.Add(new ReportSearchForm(Url));
 }
 public AuditController()
 {
     TitlePlural = "Audits";
     SearchForms.Add(new AuditSearchForm(Url));
 }
 public FieldOptionController()
 {
     Form        = new FieldOptionForm();
     TitlePlural = "Field Options";
     SearchForms.Add(new FieldOptionSearchForm(Url));
 }