DataServiceContext.DeleteObject(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the state of the specified object to be deleted in the DataServiceContext.
public:
void DeleteObject(System::Object ^ entity);
public void DeleteObject (object entity);
member this.DeleteObject : obj -> unit
Public Sub DeleteObject (entity As Object)
Parameters
- entity
- Object
The tracked entity to be changed to the deleted state.
Exceptions
When entity
is null
.
The object is not being tracked by the DataServiceContext.
Remarks
All links to the specified entity are also marked deleted.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.