0
Parent
class Product
{
int id {get; set;}
string title {get; set;}
Location loc {get; set;}
}
Child
class Location
{
int id {get; set;}
int CityID {get; set;}
}
我可以更新产品和地点,送产品到WCF数据服务方法“更新”?
产品得到更新,但不是孩子!是的,WCF服务的另一端的EntityData模型设置了所有关系Managed。