Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
什么是相反的:
Dim ad As New Address Person.AddressReference.Attach(ad)
我的意思是如何删除 Person.Address?(有删除和没有 - 意味着只删除关系)?
我不做VB,如果我的语法不太正确,请原谅我。
附上”:
Person.Address = ad
去“分离”
Person.Address = Nothing
如果要删除,请执行以下操作:
Context.DeleteObject(ad)