public void initialize( ) { gxTv_SdtSecUser_Secusername = ""; gxTv_SdtSecUser_Secuserpassword = ""; gxTv_SdtSecUser_Secusercrtuser = ""; gxTv_SdtSecUser_Secuserupduser = ""; gxTv_SdtSecUser_Secusercrtdate = (DateTime)(DateTime.MinValue); gxTv_SdtSecUser_Secuserupddate = (DateTime)(DateTime.MinValue); gxTv_SdtSecUser_Mode = ""; gxTv_SdtSecUser_Secusername_Z = ""; gxTv_SdtSecUser_Secuserpassword_Z = ""; gxTv_SdtSecUser_Secusercrtuser_Z = ""; gxTv_SdtSecUser_Secuserupduser_Z = ""; gxTv_SdtSecUser_Secusercrtdate_Z = (DateTime)(DateTime.MinValue); gxTv_SdtSecUser_Secuserupddate_Z = (DateTime)(DateTime.MinValue); datetime_STZ = (DateTime)(DateTime.MinValue); sDateCnv = ""; sNumToPad = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("secuser", "GeneXus.Programs.wwpbaseobjects.secuser_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtBAS_Institute_Institutecode = ""; gxTv_SdtBAS_Institute_Institutename = ""; gxTv_SdtBAS_Institute_Bas_institutelogo = ""; gxTv_SdtBAS_Institute_Bas_institutecreator = ""; gxTv_SdtBAS_Institute_Bas_institutecreatetime = (DateTime)(DateTime.MinValue); gxTv_SdtBAS_Institute_Bas_institutemodifier = ""; gxTv_SdtBAS_Institute_Bas_institutemodifytime = (DateTime)(DateTime.MinValue); gxTv_SdtBAS_Institute_Bas_institutedescription = ""; gxTv_SdtBAS_Institute_Mode = ""; gxTv_SdtBAS_Institute_Institutecode_Z = ""; gxTv_SdtBAS_Institute_Institutename_Z = ""; gxTv_SdtBAS_Institute_Bas_institutecreator_Z = ""; gxTv_SdtBAS_Institute_Bas_institutecreatetime_Z = (DateTime)(DateTime.MinValue); gxTv_SdtBAS_Institute_Bas_institutemodifier_Z = ""; gxTv_SdtBAS_Institute_Bas_institutemodifytime_Z = (DateTime)(DateTime.MinValue); datetime_STZ = (DateTime)(DateTime.MinValue); sDateCnv = ""; sNumToPad = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("bas_institute", "GeneXus.Programs.bas_institute_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtSYS_Role_Roleid = (Guid)(Guid.Empty); gxTv_SdtSYS_Role_Sys_roletenantcode = ""; gxTv_SdtSYS_Role_Rolename = ""; gxTv_SdtSYS_Role_Sys_roledescription = ""; gxTv_SdtSYS_Role_Sys_rolecreator = ""; gxTv_SdtSYS_Role_Sys_rolecreatetime = (DateTime)(DateTime.MinValue); gxTv_SdtSYS_Role_Sys_rolemodifier = ""; gxTv_SdtSYS_Role_Sys_rolemodifytime = (DateTime)(DateTime.MinValue); gxTv_SdtSYS_Role_Mode = ""; gxTv_SdtSYS_Role_Roleid_Z = (Guid)(Guid.Empty); gxTv_SdtSYS_Role_Sys_roletenantcode_Z = ""; gxTv_SdtSYS_Role_Rolename_Z = ""; gxTv_SdtSYS_Role_Sys_rolecreator_Z = ""; gxTv_SdtSYS_Role_Sys_rolecreatetime_Z = (DateTime)(DateTime.MinValue); gxTv_SdtSYS_Role_Sys_rolemodifier_Z = ""; gxTv_SdtSYS_Role_Sys_rolemodifytime_Z = (DateTime)(DateTime.MinValue); datetime_STZ = (DateTime)(DateTime.MinValue); sDateCnv = ""; sNumToPad = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("sys_role", "GeneXus.Programs.sys_role_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtSYS_Database_Databasename = ""; gxTv_SdtSYS_Database_Connectionstring = ""; gxTv_SdtSYS_Database_Sys_databasecreator = ""; gxTv_SdtSYS_Database_Sys_databasecreatetime = (DateTime)(DateTime.MinValue); gxTv_SdtSYS_Database_Sys_databasemodifier = ""; gxTv_SdtSYS_Database_Sys_databasemodifytime = (DateTime)(DateTime.MinValue); gxTv_SdtSYS_Database_Mode = ""; gxTv_SdtSYS_Database_Databasename_Z = ""; gxTv_SdtSYS_Database_Connectionstring_Z = ""; gxTv_SdtSYS_Database_Sys_databasecreator_Z = ""; gxTv_SdtSYS_Database_Sys_databasecreatetime_Z = (DateTime)(DateTime.MinValue); gxTv_SdtSYS_Database_Sys_databasemodifier_Z = ""; gxTv_SdtSYS_Database_Sys_databasemodifytime_Z = (DateTime)(DateTime.MinValue); datetime_STZ = (DateTime)(DateTime.MinValue); sDateCnv = ""; sNumToPad = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("sys_database", "GeneXus.Programs.sys_database_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
private void ExecuteHandler(HandlerType type, Object[] parameters) { String handler = GetHandlerClassName(type); if (!string.IsNullOrWhiteSpace(handler)) { try { string nSpace = string.Empty; Config.GetValueOf("AppMainNamespace", out nSpace); GXProcedure obj = null; try { obj = (GXProcedure)ClassLoader.FindInstance(string.Empty, nSpace, handler, null, null); } catch (Exception) { LogError("GXWebSocket - Could not create Procedure Instance: " + handler); return; } ClassLoader.Execute(obj, "execute", parameters); } catch (Exception e) { LogError("GXWebSocket - Handler failed executing action: " + handler); LogError(e.Message); } } }
public void initialize( ) { gxTv_SdtSYS_Log_Sys_logtenantcode = ""; gxTv_SdtSYS_Log_Sys_logtitle = ""; gxTv_SdtSYS_Log_Sys_logcontent = ""; gxTv_SdtSYS_Log_Sys_logclientip = ""; gxTv_SdtSYS_Log_Sys_logmodulecode = ""; gxTv_SdtSYS_Log_Sys_loglogtype = ""; gxTv_SdtSYS_Log_Sys_logcreator = ""; gxTv_SdtSYS_Log_Sys_logcreatetime = (DateTime)(DateTime.MinValue); gxTv_SdtSYS_Log_Mode = ""; gxTv_SdtSYS_Log_Sys_logtenantcode_Z = ""; gxTv_SdtSYS_Log_Sys_logtitle_Z = ""; gxTv_SdtSYS_Log_Sys_logclientip_Z = ""; gxTv_SdtSYS_Log_Sys_logmodulecode_Z = ""; gxTv_SdtSYS_Log_Sys_loglogtype_Z = ""; gxTv_SdtSYS_Log_Sys_logcreator_Z = ""; gxTv_SdtSYS_Log_Sys_logcreatetime_Z = (DateTime)(DateTime.MinValue); datetime_STZ = (DateTime)(DateTime.MinValue); sDateCnv = ""; sNumToPad = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("sys_log", "GeneXus.Programs.sys_log_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_Sdtview_lastest_patient_info_View_lpi_br_information_patientno = ""; gxTv_Sdtview_lastest_patient_info_View_lpi_br_encounter_admitdate = (DateTime)(DateTime.MinValue); gxTv_Sdtview_lastest_patient_info_View_lpi_br_demographics_sex = ""; gxTv_Sdtview_lastest_patient_info_View_lpi_br_demographics_birthdate = DateTime.MinValue; gxTv_Sdtview_lastest_patient_info_View_lpi_br_demographics_ethnic = ""; gxTv_Sdtview_lastest_patient_info_Mode = ""; gxTv_Sdtview_lastest_patient_info_View_lpi_br_information_patientno_Z = ""; gxTv_Sdtview_lastest_patient_info_View_lpi_br_encounter_admitdate_Z = (DateTime)(DateTime.MinValue); gxTv_Sdtview_lastest_patient_info_View_lpi_br_demographics_sex_Z = ""; gxTv_Sdtview_lastest_patient_info_View_lpi_br_demographics_birthdate_Z = DateTime.MinValue; gxTv_Sdtview_lastest_patient_info_View_lpi_br_demographics_ethnic_Z = ""; datetime_STZ = (DateTime)(DateTime.MinValue); sDateCnv = ""; sNumToPad = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("view_lastest_patient_info", "GeneXus.Programs.view_lastest_patient_info_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtBR_Death_Br_information_patientno = ""; gxTv_SdtBR_Death_Br_death_date = DateTime.MinValue; gxTv_SdtBR_Death_Br_death_cause = ""; gxTv_SdtBR_Death_Br_death_causecode = ""; gxTv_SdtBR_Death_Br_death_causecode_code = ""; gxTv_SdtBR_Death_Br_death_sourse = ""; gxTv_SdtBR_Death_Br_death_sourse_code = ""; gxTv_SdtBR_Death_Mode = ""; gxTv_SdtBR_Death_Br_information_patientno_Z = ""; gxTv_SdtBR_Death_Br_death_date_Z = DateTime.MinValue; gxTv_SdtBR_Death_Br_death_cause_Z = ""; gxTv_SdtBR_Death_Br_death_causecode_Z = ""; gxTv_SdtBR_Death_Br_death_causecode_code_Z = ""; gxTv_SdtBR_Death_Br_death_sourse_Z = ""; gxTv_SdtBR_Death_Br_death_sourse_code_Z = ""; sDateCnv = ""; sNumToPad = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_death", "GeneXus.Programs.br_death_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
protected void SetContent(System.Globalization.CultureInfo Culture, string CurrentLevelName, Type me, Object meInstance, JArray level, JArray levels) { if (level != null) { foreach (IDictionary item in level) { string Name = item["Name"] as string; object Value = item["Value"]; string FieldName = "gxTpr_" + Name.Substring(0, 1).ToUpper() + Name.Substring(1).ToLower(); Type MemberType = me.GetProperty(FieldName).PropertyType; if (string.IsNullOrEmpty(Value as string)) { if (MemberType == typeof(DateTime)) { Value = DateTime.MinValue; } else if (MemberType.IsPrimitive) { Value = "0"; } else if (MemberType == typeof(Decimal)) { Value = Decimal.Zero; } } me.InvokeMember(FieldName, BindingFlags.SetProperty, null, meInstance, new object[] { Convert.ChangeType(Value, MemberType, Culture) }); } } if (levels != null) { foreach (IDictionary nlevel in levels) { string Name = nlevel["Name"] as string; string LevelName = "gxTpr_" + Name.Substring(0, 1).ToUpper() + Name.Substring(1).ToLower(); Type LevelType = me.GetProperty(LevelName).PropertyType; Object levelInstance = me.InvokeMember(LevelName, BindingFlags.GetProperty, null, meInstance, Array.Empty <object>()); GxObjectCollectionBase Col = levelInstance as GxObjectCollectionBase; string NewLevelName = CurrentLevelName + "_" + Name; if (Col != null) { string Namespace = Col._containedTypeNamespace; string className = "Sdt" + NewLevelName; levelInstance = ClassLoader.FindInstance(Config.CommonAssemblyName, Namespace, className, new object[] { Col.context }, Assembly.GetCallingAssembly()); LevelType = levelInstance.GetType(); Col.addNew(levelInstance); } JArray LevelFields = nlevel["Fields"] as JArray; JArray LevelLevels = nlevel["Levels"] as JArray; SetContent(Culture, NewLevelName, LevelType, levelInstance, LevelFields, LevelLevels); } } }
public void initialize( ) { gxTv_SdtBR_Pathology_Specimen_Br_pathology_specimen_name = ""; gxTv_SdtBR_Pathology_Specimen_Mode = ""; gxTv_SdtBR_Pathology_Specimen_Br_pathology_specimen_name_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_pathology_specimen", "GeneXus.Programs.br_pathology_specimen_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtXT_DefindcodeType_Xt_defindcodetypename = ""; gxTv_SdtXT_DefindcodeType_Mode = ""; gxTv_SdtXT_DefindcodeType_Xt_defindcodetypename_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("xt_defindcodetype", "GeneXus.Programs.xt_defindcodetype_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtBAS_DataPackage_Datapackage = ""; gxTv_SdtBAS_DataPackage_Mode = ""; gxTv_SdtBAS_DataPackage_Datapackage_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("bas_datapackage", "GeneXus.Programs.bas_datapackage_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtSYS_SerialNumber_Serialkey = ""; gxTv_SdtSYS_SerialNumber_Mode = ""; gxTv_SdtSYS_SerialNumber_Serialkey_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("sys_serialnumber", "GeneXus.Programs.sys_serialnumber_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtSecFunctionalityRole_Secfunctionalitydescription = ""; gxTv_SdtSecFunctionalityRole_Mode = ""; gxTv_SdtSecFunctionalityRole_Secfunctionalitydescription_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("secfunctionalityrole", "GeneXus.Programs.wwpbaseobjects.secfunctionalityrole_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtBR_PatientReTenant_Bas_tenanttenantcode = ""; gxTv_SdtBR_PatientReTenant_Mode = ""; gxTv_SdtBR_PatientReTenant_Bas_tenanttenantcode_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_patientretenant", "GeneXus.Programs.br_patientretenant_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtUserCustomizations_Usercustomizationskey = ""; gxTv_SdtUserCustomizations_Usercustomizationsvalue = ""; gxTv_SdtUserCustomizations_Mode = ""; gxTv_SdtUserCustomizations_Usercustomizationskey_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("usercustomizations", "GeneXus.Programs.wwpbaseobjects.usercustomizations_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtSYS_TenantUser_Bas_tenanttenantcode = ""; gxTv_SdtSYS_TenantUser_Userid = (Guid)(Guid.Empty); gxTv_SdtSYS_TenantUser_Mode = ""; gxTv_SdtSYS_TenantUser_Bas_tenanttenantcode_Z = ""; gxTv_SdtSYS_TenantUser_Userid_Z = (Guid)(Guid.Empty); IGxSilentTrn obj ; obj = (IGxSilentTrn)ClassLoader.FindInstance( "sys_tenantuser", "GeneXus.Programs.sys_tenantuser_bc", new Object[] {context}, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction( obj) ; obj.SetMode("INS"); return ; }
public void initialize( ) { gxTv_SdtJC_ProviderSecUser_Secusername = ""; gxTv_SdtJC_ProviderSecUser_Jc_providername = ""; gxTv_SdtJC_ProviderSecUser_Mode = ""; gxTv_SdtJC_ProviderSecUser_Secusername_Z = ""; gxTv_SdtJC_ProviderSecUser_Jc_providername_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("jc_providersecuser", "GeneXus.Programs.jc_providersecuser_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtBR_Medication_Detail_Br_medication_drug_name = ""; gxTv_SdtBR_Medication_Detail_Br_medication_drug_unit = ""; gxTv_SdtBR_Medication_Detail_Mode = ""; gxTv_SdtBR_Medication_Detail_Br_medication_drug_name_Z = ""; gxTv_SdtBR_Medication_Detail_Br_medication_drug_unit_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_medication_detail", "GeneXus.Programs.br_medication_detail_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtSYS_RolePermission_Sys_rolepermissionroleid = (Guid)(Guid.Empty); gxTv_SdtSYS_RolePermission_Sys_rolepermissionpermissioncode = ""; gxTv_SdtSYS_RolePermission_Mode = ""; gxTv_SdtSYS_RolePermission_Sys_rolepermissionroleid_Z = (Guid)(Guid.Empty); gxTv_SdtSYS_RolePermission_Sys_rolepermissionpermissioncode_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("sys_rolepermission", "GeneXus.Programs.sys_rolepermission_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtBR_Procedure_Surgery_Br_procedure_surgery_name = ""; gxTv_SdtBR_Procedure_Surgery_Br_procedure_surgery_loc = ""; gxTv_SdtBR_Procedure_Surgery_Mode = ""; gxTv_SdtBR_Procedure_Surgery_Br_procedure_surgery_name_Z = ""; gxTv_SdtBR_Procedure_Surgery_Br_procedure_surgery_loc_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_procedure_surgery", "GeneXus.Programs.br_procedure_surgery_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public int ExecDataInitialization(List <DynTrnInitializer> dataProviders) { try { string ns; if (Config.GetValueOf("AppMainNamespace", out ns)) { foreach (DynTrnInitializer dataProvider in dataProviders) { Console.WriteLine(GXResourceManager.GetMessage("GXM_runpgm", new object[] { dataProvider.Name })); string dataProviderClassName = dataProvider.Name.ToLower(); string[] dataProviderClassNameTokens = dataProviderClassName.Split('.'); dataProviderClassNameTokens[dataProviderClassNameTokens.Length - 1] = "a" + dataProviderClassNameTokens[dataProviderClassNameTokens.Length - 1]; dataProviderClassName = string.Join(".", dataProviderClassNameTokens); var dp = ClassLoader.FindInstance(dataProviderClassName, ns, dataProviderClassName, new Object[] { context }, null); object[] parms = new object[1]; //Dataproviders receive 1 sdt collection parameter ClassLoader.ExecuteVoidRef(dp, "execute", parms); IGxCollection bcs = (IGxCollection)parms[0]; int idx = 1; while (idx <= bcs.Count) { var bc = ((GxSilentTrnSdt)bcs.Item(idx)); if (!bc.InsertOrUpdate() || !bc.Success()) { Console.WriteLine(MessagesToString(bc.GetMessages())); } idx++; } } if (dataProviders.Count > 0) { context.CommitDataStores("ExecDataInitialization"); } } this.cleanup(); return(0); } catch (Exception ex) { Console.WriteLine(ex.Message); GXLogging.Error(log, ex); return(1); } }
public void initialize( ) { gxTv_SdtBR_MedicalImaging_Diag_Br_medicalimaging_diag_loc = ""; gxTv_SdtBR_MedicalImaging_Diag_Br_medicalimaging_diag_organ = ""; gxTv_SdtBR_MedicalImaging_Diag_Br_medicalimaging_diag_dis = ""; gxTv_SdtBR_MedicalImaging_Diag_Mode = ""; gxTv_SdtBR_MedicalImaging_Diag_Br_medicalimaging_diag_loc_Z = ""; gxTv_SdtBR_MedicalImaging_Diag_Br_medicalimaging_diag_organ_Z = ""; gxTv_SdtBR_MedicalImaging_Diag_Br_medicalimaging_diag_dis_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_medicalimaging_diag", "GeneXus.Programs.br_medicalimaging_diag_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public static GxSilentTrnSdt Create(string Name, string Namespace, IGxContext context) { GxSilentTrnSdt ret; try { #if NETCORE ret = ClassLoader.FindInstance(Config.CommonAssemblyName, Namespace, GxSdtNameToCsharpName(Name), new object[] { context }, Assembly.GetEntryAssembly()) as GxSilentTrnSdt; #else ret = ClassLoader.FindInstance(Config.CommonAssemblyName, Namespace, GxSdtNameToCsharpName(Name), new object[] { context }, Assembly.GetCallingAssembly()) as GxSilentTrnSdt; #endif } catch { ret = new GxSilentTrnSdt(context); } return(ret); }
public void initialize( ) { gxTv_SdtSYS_Permission_Permissioncode = ""; gxTv_SdtSYS_Permission_Permissionname = ""; gxTv_SdtSYS_Permission_Sys_permissiondescription = ""; gxTv_SdtSYS_Permission_Sys_permissionmodulecode = ""; gxTv_SdtSYS_Permission_Mode = ""; gxTv_SdtSYS_Permission_Permissioncode_Z = ""; gxTv_SdtSYS_Permission_Permissionname_Z = ""; gxTv_SdtSYS_Permission_Sys_permissionmodulecode_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("sys_permission", "GeneXus.Programs.sys_permission_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtSYS_InstituteUserRole_Sys_instituteuserroleuserroleid = (Guid)(Guid.Empty); gxTv_SdtSYS_InstituteUserRole_Sys_instituteuserroleroleid = (Guid)(Guid.Empty); gxTv_SdtSYS_InstituteUserRole_Sys_instituteuserroleinstitutecode = ""; gxTv_SdtSYS_InstituteUserRole_Sys_instituteuserroleuserid = (Guid)(Guid.Empty); gxTv_SdtSYS_InstituteUserRole_Mode = ""; gxTv_SdtSYS_InstituteUserRole_Sys_instituteuserroleuserroleid_Z = (Guid)(Guid.Empty); gxTv_SdtSYS_InstituteUserRole_Sys_instituteuserroleroleid_Z = (Guid)(Guid.Empty); gxTv_SdtSYS_InstituteUserRole_Sys_instituteuserroleinstitutecode_Z = ""; gxTv_SdtSYS_InstituteUserRole_Sys_instituteuserroleuserid_Z = (Guid)(Guid.Empty); IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("sys_instituteuserrole", "GeneXus.Programs.sys_instituteuserrole_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtBR_Scheme_Br_scheme_chem_regimens = ""; gxTv_SdtBR_Scheme_Br_scheme_therapy_line = ""; gxTv_SdtBR_Scheme_Br_scheme_therapy_line_code = ""; gxTv_SdtBR_Scheme_Br_scheme_chem_detail = ""; gxTv_SdtBR_Scheme_Mode = ""; gxTv_SdtBR_Scheme_Br_scheme_chem_regimens_Z = ""; gxTv_SdtBR_Scheme_Br_scheme_therapy_line_Z = ""; gxTv_SdtBR_Scheme_Br_scheme_therapy_line_code_Z = ""; gxTv_SdtBR_Scheme_Br_scheme_chem_detail_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_scheme", "GeneXus.Programs.br_scheme_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void initialize( ) { gxTv_SdtBR_Familyhistory_Br_information_patientno = ""; gxTv_SdtBR_Familyhistory_Br_familycahistory = ""; gxTv_SdtBR_Familyhistory_Br_familycahistory_code = ""; gxTv_SdtBR_Familyhistory_Br_familycancer = ""; gxTv_SdtBR_Familyhistory_Mode = ""; gxTv_SdtBR_Familyhistory_Br_information_patientno_Z = ""; gxTv_SdtBR_Familyhistory_Br_familycahistory_Z = ""; gxTv_SdtBR_Familyhistory_Br_familycahistory_code_Z = ""; gxTv_SdtBR_Familyhistory_Br_familycancer_Z = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_familyhistory", "GeneXus.Programs.br_familyhistory_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }
public void ExecuteBlock() { if (statusInfo.Status != ReorgBlockStatus.Pending) { return; } statusInfo.Status = ReorgBlockStatus.Executing; string reorgAssembly = "Reorganization"; GXReorganization o = (GXReorganization)(ClassLoader.FindInstance(reorgAssembly, appNamespace, "reorg", null, assembly)); try { o.initialize(); ClassLoader.Execute(o, blockName, blockParms); statusInfo.Status = ReorgBlockStatus.Ended; if (blockEnd != null) { blockEnd(blockName, 0); } o.context.CloseConnections(); } catch (Exception e) { statusInfo.Status = ReorgBlockStatus.Error; if (blockEnd != null) { blockEnd(blockName, 1); } Exception innerE = e.InnerException; if (innerE != null) { statusInfo.OtherStatusInfo = innerE.Message; Console.WriteLine("ERROR in " + blockName + " : " + innerE.Message + StringUtil.NewLine() + innerE.StackTrace); } else { statusInfo.OtherStatusInfo = e.Message; Console.WriteLine("ERROR in " + blockName + " : " + e.Message + StringUtil.NewLine() + e.StackTrace); } } }
public void initialize( ) { gxTv_SdtBR_EncounterReason_Br_encounterreason_reason = ""; gxTv_SdtBR_EncounterReason_Br_encounterreason_israndnoapprovedate = (DateTime)(DateTime.MinValue); gxTv_SdtBR_EncounterReason_Br_encounterreason_israndapprover = ""; gxTv_SdtBR_EncounterReason_Mode = ""; gxTv_SdtBR_EncounterReason_Br_encounterreason_reason_Z = ""; gxTv_SdtBR_EncounterReason_Br_encounterreason_israndnoapprovedate_Z = (DateTime)(DateTime.MinValue); gxTv_SdtBR_EncounterReason_Br_encounterreason_israndapprover_Z = ""; datetime_STZ = (DateTime)(DateTime.MinValue); sDateCnv = ""; sNumToPad = ""; IGxSilentTrn obj; obj = (IGxSilentTrn)ClassLoader.FindInstance("br_encounterreason", "GeneXus.Programs.br_encounterreason_bc", new Object[] { context }, constructorCallingAssembly);; obj.initialize(); obj.SetSDT(this, 1); setTransaction(obj); obj.SetMode("INS"); return; }