C# 클래스 Nxdb.Updates

Instances of this class should be placed around combined update operations. It's primary purpose is to prevent intermediate and premature database optimization which will greatly impact performance. Instances of this class may be nested. If an update operation (either directly or through a query) is applied while one or more instances of this class are active, database optimizations and reindexing will not be performed until the final instance of this class is disposed. Note that instances of this class do not affect the actual application of updates operations which are still applied immediatly regardless.
상속: IDisposable
파일 보기 프로젝트 열기: daveaglick/Nxdb 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Apply void
Cleanup void
Do void
Do void
Forget void
GetQueryContext QueryContext

공개 메소드들

메소드 설명
Dispose ( ) : void
Updates ( ) : System

Initializes a new instance of the Updates class.

비공개 메소드들

메소드 설명
Apply ( ) : void
Cleanup ( IEnumerable databases ) : void
Do ( Expr expr ) : void
Do ( UpdatePrimitive update ) : void
Forget ( ) : void

Forgets all uncommitted updates. Used from the Query class when updates are not allowed (directly added updates are always immediatly applied, so it is impossible to forget them).

GetQueryContext ( ) : QueryContext

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Updates() 공개 메소드

Initializes a new instance of the Updates class.
public Updates ( ) : System
리턴 System