共用方式為


LinqDataSourceView.InsertDataObject(Object, Object, Object) 方法

定義

將資料物件插入資料表。

protected:
 virtual void InsertDataObject(System::Object ^ dataContext, System::Object ^ table, System::Object ^ newDataObject);
protected virtual void InsertDataObject (object dataContext, object table, object newDataObject);
abstract member InsertDataObject : obj * obj * obj -> unit
override this.InsertDataObject : obj * obj * obj -> unit
Protected Overridable Sub InsertDataObject (dataContext As Object, table As Object, newDataObject As Object)

參數

dataContext
Object

物件的資料內容。

table
Object

已插入資料的資料表。

newDataObject
Object

要插入的物件。

適用於