20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sample Applications<br />

Example 10.19. Setup.Delete Method in ASP.NET C# codebehind<br />

//*******************************************************<br />

//- <strong>Syspro</strong>Delete does the actual call to the specified<br />

// Delete business object.<br />

//*******************************************************<br />

//Parameters:<br />

//Uid:- GUID returned by Logon<br />

//BusObject:- business object used to do delete<br />

//XmlParam:- The parameter xml to be used in delete<br />

//XmlIn:- The input xml to be used in delete<br />

//******************************************************<br />

//Returns:- The XML returned by the business object.<br />

//*******************************************************<br />

string <strong>Syspro</strong>Delete(string Uid, string BusObject, string \<br />

XmlParam, string XmlIn)<br />

{<br />

string xmlOut;<br />

Encore.Setup EncoreDelete = new Encore.Setup();<br />

xmlOut=EncoreDelete.Delete(Uid, BusObject, XmlParam, XmlIn);<br />

EncoreDelete = null;<br />

return xmlOut;<br />

}<br />

10–31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!