Tuesday, July 17, 2018

Define a Data Contract Class

1. In the AOT, right-click the Classes node, and then select New Class.

2. Right-click the new class, click
Rename, and then enter "SrsRDPContractSample".

3. Expand SrsRDPContractSample, right-click
classDeclaration, and then click View Code.

4. In code editor, enter the following code in the class declaration to define the class.


1
2
3
4
5
6
7
[DataContractAttribute]
public class SrsRDPContractSample
{
  AccountNum accountNum;
  CustAccountStatement accountStmt;
  Boolean inclTax;
}

5. Save the class and close the editor.


Best Regards,
Hossein Karimi

No comments:

Post a Comment

Configure the Firewall on the Enterprise Portal Server

After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...