AnnotationStore.AutoFlush 屬性

定義

取得或設定值,指出是否要將註解緩衝區中的資料立即寫入實體資料存放區。

public:
 abstract property bool AutoFlush { bool get(); void set(bool value); };
public abstract bool AutoFlush { get; set; }
member this.AutoFlush : bool with get, set
Public MustOverride Property AutoFlush As Boolean

屬性值

Boolean

如果要針對每項作業,將註解緩衝區中的資料立即寫入實體資料存放區,則為 true;如果要在應用程式明確呼叫 Flush() 時,才將註解緩衝區中的資料寫入,則為 false

備註

使用明確儲存模型的應用程式可以適當地設定 AutoFlushfalse ,並直接呼叫 Flush

使用隱含儲存模型的應用程式可以在 AutoFlush true Flush 每次儲存作業 (新增、刪除或修改) 之後自動呼叫。

適用於

另請參閱