Uređivanje

Dijeli putem


ITable.InsertOnSubmit(Object) Method

Definition

Adds an entity in a pending insert state to this table.

public:
 void InsertOnSubmit(System::Object ^ entity);
public void InsertOnSubmit (object entity);
abstract member InsertOnSubmit : obj -> unit
Public Sub InsertOnSubmit (entity As Object)

Parameters

entity
Object

The entity to be added.

Remarks

Call SubmitChanges to perform the actual insertion into the database.

Applies to