共用方式為


ITable<TEntity>.DeleteOnSubmit(TEntity) 方法

定義

遭覆寫時,便會將此資料表中的實體置於 pending delete 狀態。

public:
 void DeleteOnSubmit(TEntity entity);
public void DeleteOnSubmit (TEntity entity);
abstract member DeleteOnSubmit : 'Entity -> unit
Public Sub DeleteOnSubmit (entity As TEntity)

參數

entity
TEntity

要刪除的物件。

備註

如需詳細資訊,請參閱DeleteOnSubmit

適用於