次のコード スニペットは何をしますか? なぜ使用するのEvictですか?
private void DoEvict(customer cust)
{
AddressRepository.Evict(cust.Address);
cust.Address = AddressRepository.Get(cust.Address.Id);
}
次のコード スニペットは何をしますか? なぜ使用するのEvictですか?
private void DoEvict(customer cust)
{
AddressRepository.Evict(cust.Address);
cust.Address = AddressRepository.Get(cust.Address.Id);
}