共用方式為


ObjectSet<TEntity>.Attach(TEntity) 方法

定義

將物件或物件圖形附加至目前實體集中的物件內容。

public void Attach(TEntity entity);
abstract member Attach : 'Entity -> unit
override this.Attach : 'Entity -> unit
Public Sub Attach (entity As TEntity)

參數

entity
TEntity

要附加的物件。

實作

適用於