Exemple #1
0
 public void execute(ref GxDataStore aP0_DBConnection)
 {
     this.AV8DBConnection = aP0_DBConnection;
     initialize();
     executePrivate();
     aP0_DBConnection = this.AV8DBConnection;
 }
Exemple #2
0
        public void executeSubmit(ref GxDataStore aP0_DBConnection)
        {
            zxt_choosedatabase objzxt_choosedatabase;

            objzxt_choosedatabase = new zxt_choosedatabase();
            objzxt_choosedatabase.AV8DBConnection = aP0_DBConnection;
            objzxt_choosedatabase.context.SetSubmitInitialConfig(context);
            objzxt_choosedatabase.initialize();
            ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objzxt_choosedatabase);
            aP0_DBConnection = this.AV8DBConnection;
        }
Exemple #3
0
 public WMIDataSource(GxDataStore dataSource)
 {
     try
     {
         this.dataSource = dataSource;
         Instrumentation.Publish(this);
     }
     catch (Exception e)
     {
         GXLogging.Error(log, "WMI Error", e);
     }
 }
Exemple #4
0
 public override void initialize( )
 {
     DS                 = new GxDataStore();
     ErrMsg             = "";
     DataBaseName       = "";
     defaultUsers       = new GeneXus.Utils.GxStringCollection();
     defaultUser        = "";
     sSchemaVar         = "";
     nsSchemaVar        = false;
     scmdbuf            = "";
     P00012_AsSchemaVar = new String[] { "" };
     P00012_nsSchemaVar = new bool[] { false };
     P00023_AsSchemaVar = new String[] { "" };
     P00023_nsSchemaVar = new bool[] { false };
     sTableName         = "";
     sMySchemaName      = "";
     tablename          = "";
     ntablename         = false;
     schemaname         = "";
     nschemaname        = false;
     P00034_Atablename  = new String[] { "" };
     P00034_ntablename  = new bool[] { false };
     P00034_Aschemaname = new String[] { "" };
     P00034_nschemaname = new bool[] { false };
     constid            = "";
     nconstid           = false;
     fkeyid             = "";
     nfkeyid            = false;
     P00045_Aconstid    = new String[] { "" };
     P00045_nconstid    = new bool[] { false };
     P00045_Afkeyid     = new String[] { "" };
     P00045_nfkeyid     = new bool[] { false };
     P00045_Arkeyid     = new int[1];
     P00045_nrkeyid     = new bool[] { false };
     pr_default         = new DataStoreProvider(context, new GeneXus.Programs.reorg__default(),
                                                new Object[][] {
         new Object[] {
             P00012_AsSchemaVar
         }
         , new Object[] {
             P00023_AsSchemaVar
         }
         , new Object[] {
             P00034_Atablename, P00034_Aschemaname
         }
         , new Object[] {
             P00045_Aconstid, P00045_Afkeyid, P00045_Arkeyid
         }
     }
                                                );
     /* GeneXus formulas. */
 }
Exemple #5
0
 protected void E126U2( )
 {
     /* Start Routine */
     AV23cookie              = new GxHttpCookie();
     AV23cookie.Name         = "DAS_UserTInfo";
     AV23cookie.CurrentValue = StringUtil.Trim(AV21tCurrentCode);
     AV23cookie.Path         = "/";
     AV23cookie.HttpOnly     = false;
     AV24httpresponse.SetCookie(AV23cookie);
     AV23cookie          = new GxHttpCookie();
     AV23cookie.Name     = "ASP.NET_SessionId";
     AV23cookie.Path     = "/";
     AV23cookie.HttpOnly = false;
     AV24httpresponse.SetCookie(AV23cookie);
     GXt_dbconnection1 = new GxDataStore();
     new zxt_choosedatabase(context).execute(ref GXt_dbconnection1);
     AV12BR_MedicalImaging.Load(AV13iBR_MedicalImagingID);
 }
Exemple #6
0
 public override void initialize( )
 {
     wcpOAV21tCurrentCode = "";
     gxfirstwebparm       = "";
     gxfirstwebparm_bkp   = "";
     sDynURL               = "";
     FormProcess           = "";
     bodyStyle             = "";
     GXKey                 = "";
     AV7UploadedFiles      = new GXBaseCollection <SdtFileUploadData>(context, "FileUploadData", "DataAnalysisPlatform");
     AV12BR_MedicalImaging = new SdtBR_MedicalImaging(context);
     GX_FocusControl       = "";
     Form              = new GXWebForm();
     sPrefix           = "";
     ucFileupload1     = new GXUserControl();
     sEvt              = "";
     EvtGridId         = "";
     EvtRowId          = "";
     sEvtType          = "";
     AV23cookie        = new GxHttpCookie();
     AV24httpresponse  = new GxHttpResponse(context);
     GXt_dbconnection1 = new GxDataStore();
     AV8FileUploadData = new SdtFileUploadData(context);
     AV18tBaseFile     = new GxFile(context.GetPhysicalPath());
     AV19tLargeHtml    = "";
     AV10tFileNewName  = "";
     AV22Context       = new GeneXus.Programs.wwpbaseobjects.SdtWWPContext(context);
     BackMsgLst        = new msglist();
     LclMsgLst         = new msglist();
     pr_datastore1     = new DataStoreProvider(context, new GeneXus.Programs.br_sduploadimage__datastore1(),
                                               new Object[][] {
     }
                                               );
     pr_default = new DataStoreProvider(context, new GeneXus.Programs.br_sduploadimage__default(),
                                        new Object[][] {
     }
                                        );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
 public WMIDataSource(GxDataStore gxDataStore)
 {
     this.gxDataStore = gxDataStore;
 }