public void setTier(NTier.Request.iBussinessTier oTier) { _Tier = oTier; oAssembly.appServerRootPath = ui.appServerRootPath; oAssembly.appName = ui.appName; oAssembly.loadDll(xmlDoc); }
public clsBussinessTierFromXmlBase(clsAppServerBase appServerInfo) { _appServerInfo = appServerInfo; //_AppConfigFolderPath = appServerInfo.getAppConfigFolder(); xDoc = getXmlDoc(appServerInfo.getAppConfigFilePath()); var xNodeConnection = xDoc.SelectSingleNode("//appConfig/defaultConnectionString"); string sConnectionString = xNodeConnection.InnerText; string sConnectionType = xNodeConnection.Attributes["type"].Value; _adapter = adapter.utility.createAdapter(sConnectionType, sConnectionString); oAssembly.appServerRootPath = appServerInfo.appServerRootPath; oAssembly.appName = appServerInfo.appName; oAssembly.loadDll(xDoc); }