protected virtual int ExecuteAction(MyCompany.Models.TSMForcastImport theTSMForcastImport, MyCompany.Models.TSMForcastImport original_TSMForcastImport, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "TSMForcastImport"; args.View = dataView; args.Values = CreateFieldValues(theTSMForcastImport, original_TSMForcastImport); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("TSMForcastImport", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theTSMForcastImport); return result.RowsAffected; }
protected virtual int ExecuteAction(MyCompany.Data.Objects.CustomerImportLog theCustomerImportLog, MyCompany.Data.Objects.CustomerImportLog original_CustomerImportLog, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "CustomerImportLog"; args.View = dataView; args.Values = CreateFieldValues(theCustomerImportLog, original_CustomerImportLog); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("CustomerImportLog", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theCustomerImportLog); return result.RowsAffected; }
protected virtual int ExecuteAction(VSM.Data.Objects.M_System_Config theM_System_Config, VSM.Data.Objects.M_System_Config original_M_System_Config, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "M_System_Config"; args.View = dataView; args.Values = CreateFieldValues(theM_System_Config, original_M_System_Config); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("M_System_Config", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theM_System_Config); return(result.RowsAffected); }
protected virtual int ExecuteAction(VSM.Data.Objects.T_Advertise_KioskGroup theT_Advertise_KioskGroup, VSM.Data.Objects.T_Advertise_KioskGroup original_T_Advertise_KioskGroup, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "T_Advertise_KioskGroup"; args.View = dataView; args.Values = CreateFieldValues(theT_Advertise_KioskGroup, original_T_Advertise_KioskGroup); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("T_Advertise_KioskGroup", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theT_Advertise_KioskGroup); return(result.RowsAffected); }
protected virtual int ExecuteAction(VSM.Data.Objects.Employee_Roles theEmployee_Roles, VSM.Data.Objects.Employee_Roles original_Employee_Roles, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "Employee_Roles"; args.View = dataView; args.Values = CreateFieldValues(theEmployee_Roles, original_Employee_Roles); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("Employee_Roles", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theEmployee_Roles); return(result.RowsAffected); }
protected virtual int ExecuteAction(XIOT.Data.Objects.LU_LogSource theLU_LogSource, XIOT.Data.Objects.LU_LogSource original_LU_LogSource, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "LU_LogSource"; args.View = dataView; args.Values = CreateFieldValues(theLU_LogSource, original_LU_LogSource); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("LU_LogSource", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theLU_LogSource); return(result.RowsAffected); }
protected virtual int ExecuteAction(XIOT.Data.Objects.CB_PassFailCriteria theCB_PassFailCriteria, XIOT.Data.Objects.CB_PassFailCriteria original_CB_PassFailCriteria, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "CB_PassFailCriteria"; args.View = dataView; args.Values = CreateFieldValues(theCB_PassFailCriteria, original_CB_PassFailCriteria); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("CB_PassFailCriteria", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theCB_PassFailCriteria); return(result.RowsAffected); }
protected virtual int ExecuteAction(MyCompany.Data.Objects.WorkingType theWorkingType, MyCompany.Data.Objects.WorkingType original_WorkingType, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "WorkingType"; args.View = dataView; args.Values = CreateFieldValues(theWorkingType, original_WorkingType); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("WorkingType", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theWorkingType); return(result.RowsAffected); }
protected virtual int ExecuteAction(VSM.Data.Objects.VW_RPT_OldCustomer theVW_RPT_OldCustomer, VSM.Data.Objects.VW_RPT_OldCustomer original_VW_RPT_OldCustomer, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "VW_RPT_OldCustomer"; args.View = dataView; args.Values = CreateFieldValues(theVW_RPT_OldCustomer, original_VW_RPT_OldCustomer); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("VW_RPT_OldCustomer", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theVW_RPT_OldCustomer); return(result.RowsAffected); }
protected virtual int ExecuteAction(VSM.Data.Objects.Base_Customer_Authentication theBase_Customer_Authentication, VSM.Data.Objects.Base_Customer_Authentication original_Base_Customer_Authentication, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "Base_Customer_Authentication"; args.View = dataView; args.Values = CreateFieldValues(theBase_Customer_Authentication, original_Base_Customer_Authentication); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("Base_Customer_Authentication", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theBase_Customer_Authentication); return(result.RowsAffected); }
protected virtual int ExecuteAction(MyCompany.Models.CoaDetail theCoaDetail, MyCompany.Models.CoaDetail original_CoaDetail, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "CoaDetail"; args.View = dataView; args.Values = CreateFieldValues(theCoaDetail, original_CoaDetail); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("CoaDetail", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theCoaDetail); return(result.RowsAffected); }
protected virtual int ExecuteAction(MyCompany.Data.Objects.MaterialNumberImport theMaterialNumberImport, MyCompany.Data.Objects.MaterialNumberImport original_MaterialNumberImport, string lastCommandName, string commandName, string dataView) { ActionArgs args = new ActionArgs(); args.Controller = "MaterialNumberImport"; args.View = dataView; args.Values = CreateFieldValues(theMaterialNumberImport, original_MaterialNumberImport); args.LastCommandName = lastCommandName; args.CommandName = commandName; ActionResult result = ControllerFactory.CreateDataController().Execute("MaterialNumberImport", dataView, args); result.RaiseExceptionIfErrors(); result.AssignTo(theMaterialNumberImport); return(result.RowsAffected); }