C# 클래스 Microsoft.Isam.Esent.Interop.ColumnValue

Base class for objects that represent a column value to be set.
파일 보기 프로젝트 열기: ayende/managed-esent 1 사용 예제들

보호된 메소드들

메소드 설명
ColumnValue ( ) : System

Initializes a new instance of the ColumnValue class.

GetValueFromBytes ( byte value, int startIndex, int count, int err ) : void

Given data retrieved from ESENT, decode the data and set the value in the ColumnValue object.

비공개 메소드들

메소드 설명
MakeNativeRetrieveColumn ( NATIVE_RETRIEVECOLUMN &retrievecolumn ) : void

Create a native RetrieveColumn from this object.

MakeNativeSetColumn ( NATIVE_SETCOLUMN &setcolumn ) : void

Create a native SetColumn from this object.

RetrieveColumns ( JET_SESID sesid, JET_TABLEID tableid, ColumnValue columnValues ) : int

Recursive RetrieveColumns method for data pinning. This should pin a buffer and call the inherited RetrieveColumns method.

RetrieveTruncatedBuffers ( JET_SESID sesid, JET_TABLEID tableid, ColumnValue columnValues, NATIVE_RETRIEVECOLUMN nativeRetrievecolumns ) : void

Retrieve the value for columns whose buffers were truncated.

SetColumns ( JET_SESID sesid, JET_TABLEID tableid, ColumnValue columnValues, NATIVE_SETCOLUMN nativeColumns, int i ) : int

Recursive SetColumns method for data pinning. This should populate the buffer and call the inherited SetColumns method.

SetColumns ( JET_SESID sesid, JET_TABLEID tableid, ColumnValue columnValues, NATIVE_SETCOLUMN nativeColumns, int i, void buffer, int bufferSize, bool hasValue ) : int

Recursive SetColumns function used to pin data.

This is marked as internal because it uses the NATIVE_SETCOLUMN type which is also marked as internal. It should be treated as a protected method though.

메소드 상세

ColumnValue() 보호된 메소드

Initializes a new instance of the ColumnValue class.
protected ColumnValue ( ) : System
리턴 System

GetValueFromBytes() 보호된 추상적인 메소드

Given data retrieved from ESENT, decode the data and set the value in the ColumnValue object.
protected abstract GetValueFromBytes ( byte value, int startIndex, int count, int err ) : void
value byte An array of bytes.
startIndex int The starting position within the bytes.
count int The number of bytes to decode.
err int The error returned from ESENT.
리턴 void