public Models_viewForm GetEditForm() { Models_viewForm mvf = new Models_viewForm(); mvf.Text = "Hss_DailyJobs"; mvf.Set_pk_label("ID: " + this.ID); mvf.Add_Control(new StrAttr_UserControl("Job_Class", this.Job_Class, true)); mvf.Add_Control(new StrAttr_UserControl("Job_ID", this.Job_ID, true)); mvf.Add_Control(new DateTimeAttr_UserControl("LastRunAt", this.LastRunAt)); mvf.Add_Control(new StrAttr_UserControl("LastRunBy", this.LastRunBy)); mvf.Add_Control(new BoolAttr_UserControl("Locked", this.Locked)); mvf.Add_Control(new StrAttr_UserControl("Notes", this.Notes)); mvf.Add_Control(new DateTimeAttr_UserControl("LastLockAt", this.LastLockAt)); mvf.Add_Control(new StrAttr_UserControl("LastLockBy", this.LastLockBy)); mvf.SaveModel_func = this.Update_to_DB; return(mvf); }
/*^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Hss Entity Framework Auto Generated Code^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/ public Models_viewForm GetEditForm() { Models_viewForm mvf = new Models_viewForm(); mvf.Text = "Task_Detail"; mvf.Set_pk_label("TaskDetailID: " + this.TaskDetailID); bool readOnly_flag = (this.TaskID.Value != 17); mvf.Add_Control(new StrAttr_UserControl("TaskName", this.TaskName, readOnly_flag)); mvf.Add_Control(new StrAttr_UserControl("Country", this.Country, readOnly_flag)); mvf.Add_Control(new StrAttr_UserControl("Depositary", this.Depositary, readOnly_flag)); mvf.Add_Control(new StrAttr_UserControl("Issue", this.Issue, readOnly_flag)); mvf.Add_Control(new StrAttr_UserControl("CUSIP", this.CUSIP, readOnly_flag)); mvf.Add_Control(new DateTimeAttr_UserControl("RecordDate", this.RecordDate, readOnly_flag)); mvf.Add_Control(new StrAttr_UserControl("SourceTable", this.SourceTable, readOnly_flag)); mvf.Add_Control(new StrAttr_UserControl("SourceID", this.SourceID, readOnly_flag)); mvf.Add_Control(new DateTimeAttr_UserControl("StartDate", this.StartDate)); mvf.Add_Control(new DateTimeAttr_UserControl("PriorityDate", this.PriorityDate, readOnly_flag)); mvf.Add_Control(new DateTimeAttr_UserControl("EndDate", this.EndDate)); mvf.Add_Control(new StrAttr_UserControl("Notes", this.Notes)); mvf.Add_Control(new StrAttr_UserControl("Priority", this.Priority, readOnly_flag)); mvf.Add_Control(new BoolAttr_UserControl("Completed", this.Completed)); mvf.Add_Control(new StrAttr_UserControl("CreatedBy", this.CreatedBy, true)); mvf.Add_Control(new DateTimeAttr_UserControl("CreatedDateTime", this.CreatedDateTime, true)); mvf.Add_Control(new StrAttr_UserControl("CompletedBy", this.CompletedBy, true)); mvf.Add_Control(new DateTimeAttr_UserControl("CompletedDateTime", this.CompletedDateTime, true)); mvf.Add_Control(new StrAttr_UserControl("LastModifiedBy", this.LastModifiedBy, true)); mvf.Add_Control(new DateTimeAttr_UserControl("LastModifiedDateTime", this.LastModifiedDateTime, true)); mvf.SaveModel_func = this.Save_to_DB; return(mvf); }
/*^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Hss Entity Framework Auto Generated Code^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/ public Models_viewForm GetEditForm() { Models_viewForm mvf = new Models_viewForm(); mvf.Text = "Dividend_Payment"; mvf.Set_pk_label("Dividend_PayID: " + this.Dividend_PayID); mvf.Add_Control(new StrAttr_UserControl("DividendIndex", this.DividendIndex, true)); mvf.Add_Control(new DateTimeAttr_UserControl("PaymentReferenceDate", this.PaymentReferenceDate)); mvf.Add_Control(new StrAttr_UserControl("Depositary", this.Depositary)); mvf.Add_Control(new DateTimeAttr_UserControl("FXValueDate", this.FXValueDate)); mvf.Add_Control(new StrAttr_UserControl("DivFXRate", this.DivFXRate)); mvf.Add_Control(new StrAttr_UserControl("LastModifiedBy", this.LastModifiedBy, true)); mvf.Add_Control(new DateTimeAttr_UserControl("ModifiedDateTime", this.ModifiedDateTime, true)); mvf.Add_Control(new BoolAttr_UserControl("Paid_And_Locked", this.Paid_And_Locked)); mvf.Add_Control(new DateTimeAttr_UserControl("Paid_And_Locked_Date", this.Paid_And_Locked_Date, true)); mvf.Add_Control(new DateTimeAttr_UserControl("Billed_Date", this.Billed_Date)); mvf.Add_Control(new DateTimeAttr_UserControl("Paid_Date_Actual", this.Paid_Date_Actual)); mvf.Add_Control(new StrAttr_UserControl("WriteOff", this.WriteOff)); mvf.Add_Control(new StrAttr_UserControl("FX_InputID", this.FX_InputID, true)); mvf.Add_Control(new StrAttr_UserControl("CustodianID", this.CustodianID, true)); mvf.SaveModel_func = this.Save_to_DB; return(mvf); }