/// <summary> /// Deletes a row from the DataSource. /// </summary> /// <param name="_systemInformationId">Primary key for AWBuildVersion records.. Primary Key.</param> /// <param name="transactionManager"><see cref="TransactionManager"/> object</param> /// <remarks>Deletes based on primary key(s).</remarks> /// <returns>Returns true if operation suceeded.</returns> public override bool Delete(TransactionManager transactionManager, System.Byte _systemInformationId) { try { // call the proxy WsProxy.AdventureWorksServices proxy = new WsProxy.AdventureWorksServices(); proxy.Url = Url; bool result = proxy.AwBuildVersionProvider_Delete(_systemInformationId); return(result); } catch (SoapException soex) { System.Diagnostics.Debug.WriteLine(soex); throw soex; } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex); throw ex; } }
/// <summary> /// Deletes a row from the DataSource. /// </summary> /// <param name="_systemInformationId">Primary key for AWBuildVersion records.. Primary Key.</param> /// <param name="transactionManager"><see cref="TransactionManager"/> object</param> /// <remarks>Deletes based on primary key(s).</remarks> /// <returns>Returns true if operation suceeded.</returns> public override bool Delete(TransactionManager transactionManager, System.Byte _systemInformationId) { try { // call the proxy WsProxy.AdventureWorksServices proxy = new WsProxy.AdventureWorksServices(); proxy.Url = Url; bool result = proxy.AwBuildVersionProvider_Delete(_systemInformationId); return result; } catch(SoapException soex) { System.Diagnostics.Debug.WriteLine(soex); throw soex; } catch(Exception ex) { System.Diagnostics.Debug.WriteLine(ex); throw ex; } }