// /// <summary> /// get DefaultNpgCommandAdaptor /// </summary> /// <param name="trxContext"></param> /// <param name="sqlText"></param> /// <returns></returns> protected SAPCommandAdapter GetSAPCommandAdaptor(TransactionContext trxContext, String sqlText) { if (configParameters == null) { configParameters = SetConnectionParameters(); } if (rfcDestination == null) { rfcDestination = RfcDestinationManager.GetDestination(configParameters); } SAPCommandAdapter sapCommandAdapter = new DefaultSAPCommandAdaptor(rfcDestination, sqlText); return(sapCommandAdapter); }
// /// <summary> /// get DefaultNpgCommandAdaptor /// </summary> /// <param name="trxContext"></param> /// <param name="sqlText"></param> /// <returns></returns> protected SAPCommandAdapter GetSAPCommandAdaptor(TransactionContext trxContext, String sqlText) { SAPCommandAdapter sapCommandAdapter = new DefaultSAPCommandAdaptor(trxContext, sqlText); return(sapCommandAdapter); }