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.