ITable.DeleteOnSubmit(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.
Puts an entity from this table into a pending delete
state.
public:
void DeleteOnSubmit(System::Object ^ entity);
public void DeleteOnSubmit (object entity);
abstract member DeleteOnSubmit : obj -> unit
Public Sub DeleteOnSubmit (entity As Object)
Parameters
- entity
- Object
The entity to be removed.
Remarks
Disconnected entities must be attached before they can be deleted. Call SubmitChanges to perform the actual deletion in the database.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.