Microsoft Office Tutorials and References
In Depth Information
after you complete this step, your BDC Model window should look similar to the one in Figure 4-26 .
Figure 4-26. The BDC model
switch to solution explorer, and open the entity1service.cs file. replace the code with the
Update method code in Listing 4-7.
Listing 4-7. The Update Method
int ret = 0;
using (SqlConnection conn = new SqlConnection(
"Data Source=localhost; Integrated Security=SSPI; Initial Catalog=AdventureWorks2012"))
Search JabSto ::