. Net Ria service domain service class (4)

Source: Internet
Author: User

To ensure the effectiveness of the ORM in the previous section

1. we first use the shortcut key (CTRL + Shift + B) to compile the entire project once. If an error occurs after the project is completed, ignore it. net Ria service or CTP version, so there are still some problems, but it is very powerful.

2. In the same way as in the previous section, select "domain service class" in the Add new item and change the name to funsldomainservice. CS.

Click Add to start the next step.

3. Define the parameter of domain data class. Here we will hook funslusers and enable editing of entities.

Generate associated calsses for metadata is a definition set that integrates powerful data presentation. It is generally recommended that you hook it up empty and integrate data verification functions such as regular expressions. For example:

Click OK to generate domain data class.

4. Re-compile the project with the shortcut key Ctrl + Shift + B to make the domain data class effective to the Silverlight project.

The next section describes how to perform data operations on Silverlight.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.