C# Class SIL.FieldWorks.CacheLight.RealDataCache

Summary description for RealDataCache.
Inheritance: ISilDataAccess, IVwCacheDa, IFWDisposable
显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
AddToIntCache void
AddToLongCache void
CheckBasics void
CheckForMetaDataCache void
CheckForVirtual bool
CheckHvoTagMatch void
Dispose void
GetFromIntCache int
GetFromLongCache long
MakeDirty void
get_UnknownProp object

Public Methods

Method Description
AddNotification ( IVwNotifyChange _nchng ) : void

Member AddNotification

BeginNonUndoableTask ( ) : void

Member BeginNonUndoableTask

BeginUndoTask ( string bstrUndo, string bstrRedo ) : void

Member BeginUndoTask

BinaryPropRgb ( int obj, int tag, [ MarshalTypeRef, int cbMax, int &cb ) : void

Member BinaryPropRgb

ISilDataAccess method

BreakUndoTask ( string bstrUndo, string bstrRedo ) : void

Member BreakUndoTask

CacheBinaryProp ( int obj, int tag, [ SizeParamIndex = 3)]Byte[]rgb, int cb ) : void

Member CacheBinaryProp

IVwCacheDa method

CacheBooleanProp ( int hvo, int tag, bool value ) : void

Caches the boolean prop.

IVwCacheDa method

CacheGuidProp ( int obj, int tag, System.Guid uid ) : void

Member CacheGuidProp

IVwCacheDa method

CacheInt64Prop ( int obj, int tag, long val ) : void

Member CacheInt64Prop

IVwCacheDa method

CacheIntProp ( int obj, int tag, int val ) : void

Member CacheIntProp

IVwCacheDa method

CacheObjProp ( int obj, int tag, int val ) : void

Member CacheObjProp

IVwCacheDa method

CacheReplace ( int hvoObj, int tag, int ihvoMin, int ihvoLim, [ SizeParamIndex = 5)]int[]rghvo, int chvo ) : void

Member CacheReplace

IVwCacheDa method

CacheStringAlt ( int obj, int tag, int ws, ITsString tss ) : void

Member CacheStringAlt

IVwCacheDa method

CacheStringProp ( int obj, int tag, ITsString tss ) : void

Member CacheStringProp

IVwCacheDa method

CacheTimeProp ( int hvo, int tag, long val ) : void

Member CacheTimeProp

IVwCacheDa method

CacheUnicodeProp ( int obj, int tag, string val, int cch ) : void

Member CacheUnicodeProp

IVwCacheDa method

CacheUnknown ( int obj, int tag, [ unk ) : void

Member CacheUnknown

IVwCacheDa method

CacheVecProp ( int obj, int tag, [ SizeParamIndex = 3)]int[]rghvo, int chvo ) : void

Member CacheVecProp

CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

ClearAllData ( ) : void

Member ClearAllData

ClearDirty ( ) : void

Member ClearDirty

ClearInfoAbout ( int hvo, VwClearInfoAction cia ) : void

Member ClearInfoAbout

ClearInfoAboutAll ( int rghvo, int chvo, VwClearInfoAction cia ) : void

Member ClearInfoAbout

ClearVirtualProperties ( ) : void

Member ClearVirtualProperties

ContinueUndoTask ( ) : void

Member ContinueUndoTask

DeleteObj ( int hvoObj ) : void

Member DeleteObj

DeleteObjOwner ( int hvoOwner, int hvoObj, int tag, int ihvo ) : void

Member DeleteObjOwner

Dispose ( ) : void

Must not be virtual.

EndNonUndoableTask ( ) : void

Member EndNonUndoableTask

EndOuterUndoTask ( ) : void

Member EndOuterUndoTask

EndUndoTask ( ) : void

Member EndUndoTask

GetActionHandler ( ) : IActionHandler

Member GetActionHandler

GetDisplayIndex ( int hvoOwn, int flid, int ihvo ) : int

Member GetDisplayIndex

GetObjIndex ( int hvoOwn, int flid, int hvo ) : int

Member GetObjIndex

IVwCacheDa method

GetOutlineNumber ( int hvo, int flid, bool fFinPer ) : string

Member GetOutlineNumber

GetRelExtra ( int hvoSrc, int tag, int ihvo ) : string

Member GetRelExtra

GetVirtualHandlerId ( int tag ) : IVwVirtualHandler

Member GetVirtualHandlerId

GetVirtualHandlerName ( string bstrClass, string bstrField ) : IVwVirtualHandler

Member GetVirtualHandlerName

InsertNew ( int hvoObj, int tag, int ihvo, int chvo, IVwStylesheet _ss ) : void

Member InsertNew

InsertRelExtra ( int hvoSrc, int tag, int ihvo, int hvoDst, string bstrExtra ) : void

Member InsertRelExtra

InstallVirtual ( IVwVirtualHandler vh ) : void

Member InstallVirtual

IsDirty ( ) : bool

Member IsDirty

MakeNewObject ( int clid, int hvoOwner, int tag, int ord ) : int

Member MakeNewObject

MoveOwn ( int hvoSrcOwner, int tagSrc, int hvo, int hvoDstOwner, int tagDst, int ihvoDstStart ) : void

Member MoveOwn

MoveOwnSeq ( int hvoSrcOwner, int tagSrc, int ihvoStart, int ihvoEnd, int hvoDstOwner, int tagDst, int ihvoDstStart ) : void

Member MoveOwnSeq

MoveString ( int hvoSource, int flidSrc, int wsSrc, int ichMin, int ichLim, int hvoDst, int flidDst, int wsDst, int ichDest, bool fDstIsNew ) : void

So far we haven't needed this for the purposes of CacheLight...it's used for multi-paragraph (and eventually drag/drop) editing.

PropChanged ( IVwNotifyChange _nchng, int _ct, int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void

Member PropChanged

RemoveNotification ( IVwNotifyChange _nchng ) : void

Member RemoveNotification

RemoveObjRefs ( int hvo ) : void

Member RemoveObjRefs

Replace ( int hvoObj, int tag, int ihvoMin, int ihvoLim, [ SizeParamIndex = 5)]int[]rghvo, int chvo ) : void

Member Replace

Rollback ( ) : void

Member Rollback

SetActionHandler ( IActionHandler actionhandler ) : void

Member SetActionHandler

SetBinary ( int hvo, int tag, [ SizeParamIndex = 3)]Byte[]rgb, int cb ) : void

Member SetBinary

ISilDataAccess method

SetBoolean ( int hvo, int tag, bool n ) : void

Member SetBoolean

ISilDataAccess method

SetGuid ( int hvo, int tag, Guid uid ) : void

Member SetGuid

ISilDataAccess method

SetInt ( int hvo, int tag, int n ) : void

Member SetInt

ISilDataAccess method

SetInt64 ( int hvo, int tag, long lln ) : void

Member SetInt64

ISilDataAccess method

SetMultiStringAlt ( int hvo, int tag, int ws, ITsString tss ) : void

Member SetMultiStringAlt

ISilDataAccess method

SetObjProp ( int hvo, int tag, int hvoObj ) : void

Member SetObjProp

ISilDataAccess method

SetString ( int hvo, int tag, ITsString tss ) : void

Member SetString

ISilDataAccess method

SetTime ( int hvo, int tag, long lln ) : void

Member SetTime

ISilDataAccess method

SetUnicode ( int hvo, int tag, string rgch, int cch ) : void

Member SetUnicode

ISilDataAccess method

SetUnknown ( int hvo, int tag, [ unk ) : void

Member SetUnknown

ISilDataAccess method

UnicodePropRgch ( int obj, int tag, [ MarshalTypeRef, int cchMax, int &cch ) : void

Member UnicodePropRgch

ISilDataAccess method

UpdateRelExtra ( int hvoSrc, int tag, int ihvo, string bstrExtra ) : void

Member UpdateRelExtra

VecProp ( int hvo, int tag, int chvoMax, int &chvo, [ MarshalTypeRef ) : void

Get the full contents of the specified sequence in one go.

get_BooleanProp ( int hvo, int tag ) : bool

Member get_BooleanProp

ISilDataAccess method

get_CachedIntProp ( int obj, int tag, bool &isInCache ) : int

Method to retrieve a particular int property if it is in the cache, and return a bool to say whether it was or not. Similar to ISilDataAccess::get_IntProp, but this method is guaranteed not to do a lazy load of the property and it makes it easier for .Net clients to see whether the property was loaded, because this info is not hidden in an HRESULT.

IVwCacheDa method

get_GuidProp ( int hvo, int tag ) : Guid

Member get_GuidProp

ISilDataAccess method

get_Int64Prop ( int hvo, int tag ) : long

Member get_Int64Prop

ISilDataAccess method

get_IntProp ( int hvo, int tag ) : int

Member get_IntProp

ISilDataAccess method

get_IsDummyId ( int hvo ) : bool

Member get_IsDummyId

get_IsPropInCache ( int hvo, int tag, int cpt, int ws ) : bool

Member get_IsPropInCache

get_IsValidObject ( int hvo ) : bool

Member get_IsValidObject

get_MultiStringAlt ( int hvo, int tag, int ws ) : ITsString

Member get_MultiStringAlt

ISilDataAccess method

get_MultiStringProp ( int hvo, int tag ) : ITsMultiString

Member get_MultiStringProp

ISilDataAccess method

get_ObjFromGuid ( Guid uid ) : int

Member get_ObjFromGuid

ISilDataAccess method

get_ObjectProp ( int hvo, int tag ) : int

Member get_ObjectProp

ISilDataAccess method

get_Prop ( int hvo, int tag ) : object

Member get_Prop

get_StringProp ( int hvo, int tag ) : ITsString

Member get_StringProp

ISilDataAccess method

get_TimeProp ( int hvo, int tag ) : long

Member get_TimeProp

ISilDataAccess method

get_UnicodeProp ( int obj, int tag ) : string

Member get_UnicodeProp

ISilDataAccess method

get_VecItem ( int hvo, int tag, int index ) : int

Member get_VecItem

get_VecSize ( int hvo, int tag ) : int

Member get_VecSize

get_VecSizeAssumeCached ( int hvo, int tag ) : int

Member get_VecSizeAssumeCached

get_WritingSystemsOfInterest ( int cwsMax, [ MarshalTypeRef ) : int

Return a list of the encodings that are of interest within the database.

set_UnicodeProp ( int obj, int tag, string bstr ) : void

Member set_UnicodeProp

ISilDataAccess method

Private Methods

Method Description
AddToIntCache ( int obj, int tag, int val, bool isIntType ) : void
AddToLongCache ( int obj, int tag, long val, CellarPropertyType flidType ) : void
CheckBasics ( int hvo ) : void

See if the given 'hvo' is valid.

CheckForMetaDataCache ( ) : void

Makes sure the mdc exists.

CheckForVirtual ( int hvo, int tag ) : bool
CheckHvoTagMatch ( int hvo, int tag ) : void
Dispose ( bool disposing ) : void

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.

If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.

GetFromIntCache ( int hvo, int tag ) : int
GetFromLongCache ( int hvo, int tag ) : long
MakeDirty ( int hvo ) : void
get_UnknownProp ( int hvo, int tag ) : object

Method Details

AddNotification() public method

Member AddNotification
public AddNotification ( IVwNotifyChange _nchng ) : void
_nchng IVwNotifyChange _nchng
return void

BeginNonUndoableTask() public method

Member BeginNonUndoableTask
public BeginNonUndoableTask ( ) : void
return void

BeginUndoTask() public method

Member BeginUndoTask
public BeginUndoTask ( string bstrUndo, string bstrRedo ) : void
bstrUndo string bstrUndo
bstrRedo string bstrRedo
return void

BinaryPropRgb() public method

Member BinaryPropRgb
ISilDataAccess method
public BinaryPropRgb ( int obj, int tag, [ MarshalTypeRef, int cbMax, int &cb ) : void
obj int obj
tag int tag
MarshalTypeRef [
cbMax int cbMax
cb int cb
return void

BreakUndoTask() public method

Member BreakUndoTask
public BreakUndoTask ( string bstrUndo, string bstrRedo ) : void
bstrUndo string bstrUndo
bstrRedo string bstrRedo
return void

CacheBinaryProp() public method

Member CacheBinaryProp
IVwCacheDa method
public CacheBinaryProp ( int obj, int tag, [ SizeParamIndex = 3)]Byte[]rgb, int cb ) : void
obj int obj
tag int tag
SizeParamIndex [
cb int cb
return void

CacheBooleanProp() public method

Caches the boolean prop.
IVwCacheDa method
public CacheBooleanProp ( int hvo, int tag, bool value ) : void
hvo int The hvo.
tag int The tag.
value bool if set to true [value].
return void

CacheGuidProp() public method

Member CacheGuidProp
IVwCacheDa method
public CacheGuidProp ( int obj, int tag, System.Guid uid ) : void
obj int obj
tag int tag
uid System.Guid uid
return void

CacheInt64Prop() public method

Member CacheInt64Prop
IVwCacheDa method
public CacheInt64Prop ( int obj, int tag, long val ) : void
obj int obj
tag int tag
val long val
return void

CacheIntProp() public method

Member CacheIntProp
IVwCacheDa method
public CacheIntProp ( int obj, int tag, int val ) : void
obj int obj
tag int tag
val int val
return void

CacheObjProp() public method

Member CacheObjProp
IVwCacheDa method
public CacheObjProp ( int obj, int tag, int val ) : void
obj int obj
tag int tag
val int val
return void

CacheReplace() public method

Member CacheReplace
IVwCacheDa method
public CacheReplace ( int hvoObj, int tag, int ihvoMin, int ihvoLim, [ SizeParamIndex = 5)]int[]rghvo, int chvo ) : void
hvoObj int hvoObj
tag int tag
ihvoMin int ihvoMin
ihvoLim int ihvoLim
SizeParamIndex [
chvo int chvo
return void

CacheStringAlt() public method

Member CacheStringAlt
IVwCacheDa method
public CacheStringAlt ( int obj, int tag, int ws, ITsString tss ) : void
obj int obj
tag int tag
ws int ws
tss ITsString tss
return void

CacheStringProp() public method

Member CacheStringProp
IVwCacheDa method
public CacheStringProp ( int obj, int tag, ITsString tss ) : void
obj int obj
tag int tag
tss ITsString _tss
return void

CacheTimeProp() public method

Member CacheTimeProp
IVwCacheDa method
public CacheTimeProp ( int hvo, int tag, long val ) : void
hvo int hvo
tag int tag
val long val
return void

CacheUnicodeProp() public method

Member CacheUnicodeProp
IVwCacheDa method
public CacheUnicodeProp ( int obj, int tag, string val, int cch ) : void
obj int obj
tag int tag
val string val
cch int cch
return void

CacheUnknown() public method

Member CacheUnknown
IVwCacheDa method
public CacheUnknown ( int obj, int tag, [ unk ) : void
obj int obj
tag int tag
unk [ unk
return void

CacheVecProp() public method

Member CacheVecProp
public CacheVecProp ( int obj, int tag, [ SizeParamIndex = 3)]int[]rghvo, int chvo ) : void
obj int obj
tag int tag
SizeParamIndex [
chvo int chvo
return void

CheckDisposed() public method

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
return void

ClearAllData() public method

Member ClearAllData
public ClearAllData ( ) : void
return void

ClearDirty() public method

Member ClearDirty
public ClearDirty ( ) : void
return void

ClearInfoAbout() public method

Member ClearInfoAbout
public ClearInfoAbout ( int hvo, VwClearInfoAction cia ) : void
hvo int hvo
cia VwClearInfoAction cia
return void

ClearInfoAboutAll() public method

Member ClearInfoAbout
public ClearInfoAboutAll ( int rghvo, int chvo, VwClearInfoAction cia ) : void
rghvo int hvo
chvo int
cia VwClearInfoAction cia
return void

ClearVirtualProperties() public method

Member ClearVirtualProperties
public ClearVirtualProperties ( ) : void
return void

ContinueUndoTask() public method

Member ContinueUndoTask
public ContinueUndoTask ( ) : void
return void

DeleteObj() public method

Member DeleteObj
public DeleteObj ( int hvoObj ) : void
hvoObj int hvoObj
return void

DeleteObjOwner() public method

Member DeleteObjOwner
public DeleteObjOwner ( int hvoOwner, int hvoObj, int tag, int ihvo ) : void
hvoOwner int hvoOwner
hvoObj int hvoObj
tag int tag
ihvo int ihvo
return void

Dispose() public method

Must not be virtual.
public Dispose ( ) : void
return void

EndNonUndoableTask() public method

Member EndNonUndoableTask
public EndNonUndoableTask ( ) : void
return void

EndOuterUndoTask() public method

Member EndOuterUndoTask
public EndOuterUndoTask ( ) : void
return void

EndUndoTask() public method

Member EndUndoTask
public EndUndoTask ( ) : void
return void

GetActionHandler() public method

Member GetActionHandler
public GetActionHandler ( ) : IActionHandler
return IActionHandler

GetDisplayIndex() public method

Member GetDisplayIndex
public GetDisplayIndex ( int hvoOwn, int flid, int ihvo ) : int
hvoOwn int hvoOwn
flid int flid
ihvo int ihvo
return int

GetObjIndex() public method

Member GetObjIndex
IVwCacheDa method
public GetObjIndex ( int hvoOwn, int flid, int hvo ) : int
hvoOwn int hvoOwn
flid int flid
hvo int hvo
return int

GetOutlineNumber() public method

Member GetOutlineNumber
public GetOutlineNumber ( int hvo, int flid, bool fFinPer ) : string
hvo int hvo
flid int flid
fFinPer bool fFinPer
return string

GetRelExtra() public method

Member GetRelExtra
public GetRelExtra ( int hvoSrc, int tag, int ihvo ) : string
hvoSrc int hvoSrc
tag int tag
ihvo int ihvo
return string

GetVirtualHandlerId() public method

Member GetVirtualHandlerId
public GetVirtualHandlerId ( int tag ) : IVwVirtualHandler
tag int tag
return IVwVirtualHandler

GetVirtualHandlerName() public method

Member GetVirtualHandlerName
public GetVirtualHandlerName ( string bstrClass, string bstrField ) : IVwVirtualHandler
bstrClass string bstrClass
bstrField string bstrField
return IVwVirtualHandler

InsertNew() public method

Member InsertNew
public InsertNew ( int hvoObj, int tag, int ihvo, int chvo, IVwStylesheet _ss ) : void
hvoObj int hvoObj
tag int tag
ihvo int ihvo
chvo int chvo
_ss IVwStylesheet _ss
return void

InsertRelExtra() public method

Member InsertRelExtra
public InsertRelExtra ( int hvoSrc, int tag, int ihvo, int hvoDst, string bstrExtra ) : void
hvoSrc int hvoSrc
tag int tag
ihvo int ihvo
hvoDst int hvoDst
bstrExtra string bstrExtra
return void

InstallVirtual() public method

Member InstallVirtual
public InstallVirtual ( IVwVirtualHandler vh ) : void
vh IVwVirtualHandler vh
return void

IsDirty() public method

Member IsDirty
public IsDirty ( ) : bool
return bool

MakeNewObject() public method

Member MakeNewObject
public MakeNewObject ( int clid, int hvoOwner, int tag, int ord ) : int
clid int clid
hvoOwner int hvoOwner
tag int tag
ord int ord
return int

MoveOwn() public method

Member MoveOwn
public MoveOwn ( int hvoSrcOwner, int tagSrc, int hvo, int hvoDstOwner, int tagDst, int ihvoDstStart ) : void
hvoSrcOwner int hvoSrcOwner
tagSrc int tagSrc
hvo int hvo
hvoDstOwner int hvoDstOwner
tagDst int tagDst
ihvoDstStart int ihvoDstStart
return void

MoveOwnSeq() public method

Member MoveOwnSeq
public MoveOwnSeq ( int hvoSrcOwner, int tagSrc, int ihvoStart, int ihvoEnd, int hvoDstOwner, int tagDst, int ihvoDstStart ) : void
hvoSrcOwner int hvoSrcOwner
tagSrc int tagSrc
ihvoStart int ihvoStart
ihvoEnd int ihvoEnd
hvoDstOwner int hvoDstOwner
tagDst int tagDst
ihvoDstStart int ihvoDstStart
return void

MoveString() public method

So far we haven't needed this for the purposes of CacheLight...it's used for multi-paragraph (and eventually drag/drop) editing.
public MoveString ( int hvoSource, int flidSrc, int wsSrc, int ichMin, int ichLim, int hvoDst, int flidDst, int wsDst, int ichDest, bool fDstIsNew ) : void
hvoSource int
flidSrc int
wsSrc int
ichMin int
ichLim int
hvoDst int
flidDst int
wsDst int
ichDest int
fDstIsNew bool
return void

PropChanged() public method

Member PropChanged
public PropChanged ( IVwNotifyChange _nchng, int _ct, int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void
_nchng IVwNotifyChange _nchng
_ct int _ct
hvo int hvo
tag int tag
ivMin int ivMin
cvIns int cvIns
cvDel int cvDel
return void

RemoveNotification() public method

Member RemoveNotification
public RemoveNotification ( IVwNotifyChange _nchng ) : void
_nchng IVwNotifyChange _nchng
return void

RemoveObjRefs() public method

Member RemoveObjRefs
public RemoveObjRefs ( int hvo ) : void
hvo int hvo
return void

Replace() public method

Member Replace
public Replace ( int hvoObj, int tag, int ihvoMin, int ihvoLim, [ SizeParamIndex = 5)]int[]rghvo, int chvo ) : void
hvoObj int hvoObj
tag int tag
ihvoMin int ihvoMin
ihvoLim int ihvoLim
SizeParamIndex [
chvo int chvo
return void

Rollback() public method

Member Rollback
public Rollback ( ) : void
return void

SetActionHandler() public method

Member SetActionHandler
public SetActionHandler ( IActionHandler actionhandler ) : void
actionhandler IActionHandler action handler
return void

SetBinary() public method

Member SetBinary
ISilDataAccess method
public SetBinary ( int hvo, int tag, [ SizeParamIndex = 3)]Byte[]rgb, int cb ) : void
hvo int hvo
tag int tag
SizeParamIndex [
cb int cb
return void

SetBoolean() public method

Member SetBoolean
ISilDataAccess method
public SetBoolean ( int hvo, int tag, bool n ) : void
hvo int hvo
tag int tag
n bool n
return void

SetGuid() public method

Member SetGuid
ISilDataAccess method
public SetGuid ( int hvo, int tag, Guid uid ) : void
hvo int hvo
tag int tag
uid Guid uid
return void

SetInt() public method

Member SetInt
ISilDataAccess method
public SetInt ( int hvo, int tag, int n ) : void
hvo int hvo
tag int tag
n int n
return void

SetInt64() public method

Member SetInt64
ISilDataAccess method
public SetInt64 ( int hvo, int tag, long lln ) : void
hvo int hvo
tag int tag
lln long lln
return void

SetMultiStringAlt() public method

Member SetMultiStringAlt
ISilDataAccess method
public SetMultiStringAlt ( int hvo, int tag, int ws, ITsString tss ) : void
hvo int hvo
tag int tag
ws int ws
tss ITsString tss
return void

SetObjProp() public method

Member SetObjProp
ISilDataAccess method
public SetObjProp ( int hvo, int tag, int hvoObj ) : void
hvo int hvo
tag int tag
hvoObj int hvoObj
return void

SetString() public method

Member SetString
ISilDataAccess method
public SetString ( int hvo, int tag, ITsString tss ) : void
hvo int hvo
tag int tag
tss ITsString tss
return void

SetTime() public method

Member SetTime
ISilDataAccess method
public SetTime ( int hvo, int tag, long lln ) : void
hvo int hvo
tag int tag
lln long lln
return void

SetUnicode() public method

Member SetUnicode
ISilDataAccess method
public SetUnicode ( int hvo, int tag, string rgch, int cch ) : void
hvo int hvo
tag int tag
rgch string rgch
cch int cch
return void

SetUnknown() public method

Member SetUnknown
ISilDataAccess method
public SetUnknown ( int hvo, int tag, [ unk ) : void
hvo int hvo
tag int tag
unk [ unk
return void

UnicodePropRgch() public method

Member UnicodePropRgch
ISilDataAccess method
public UnicodePropRgch ( int obj, int tag, [ MarshalTypeRef, int cchMax, int &cch ) : void
obj int obj
tag int tag
MarshalTypeRef [
cchMax int cchMax
cch int cch
return void

UpdateRelExtra() public method

Member UpdateRelExtra
public UpdateRelExtra ( int hvoSrc, int tag, int ihvo, string bstrExtra ) : void
hvoSrc int hvoSrc
tag int tag
ihvo int ihvo
bstrExtra string bstrExtra
return void

VecProp() public method

Get the full contents of the specified sequence in one go.
public VecProp ( int hvo, int tag, int chvoMax, int &chvo, [ MarshalTypeRef ) : void
hvo int hvo
tag int tag
chvoMax int chvoMax
chvo int chvo
MarshalTypeRef [
return void

get_BooleanProp() public method

Member get_BooleanProp
ISilDataAccess method
public get_BooleanProp ( int hvo, int tag ) : bool
hvo int hvo
tag int tag
return bool

get_CachedIntProp() public method

Method to retrieve a particular int property if it is in the cache, and return a bool to say whether it was or not. Similar to ISilDataAccess::get_IntProp, but this method is guaranteed not to do a lazy load of the property and it makes it easier for .Net clients to see whether the property was loaded, because this info is not hidden in an HRESULT.
IVwCacheDa method
public get_CachedIntProp ( int obj, int tag, bool &isInCache ) : int
obj int obj
tag int tag
isInCache bool isInCache
return int

get_GuidProp() public method

Member get_GuidProp
ISilDataAccess method
public get_GuidProp ( int hvo, int tag ) : Guid
hvo int hvo
tag int tag
return Guid

get_Int64Prop() public method

Member get_Int64Prop
ISilDataAccess method
public get_Int64Prop ( int hvo, int tag ) : long
hvo int hvo
tag int tag
return long

get_IntProp() public method

Member get_IntProp
ISilDataAccess method
public get_IntProp ( int hvo, int tag ) : int
hvo int hvo
tag int tag
return int

get_IsDummyId() public method

Member get_IsDummyId
public get_IsDummyId ( int hvo ) : bool
hvo int hvo
return bool

get_IsPropInCache() public method

Member get_IsPropInCache
public get_IsPropInCache ( int hvo, int tag, int cpt, int ws ) : bool
hvo int hvo
tag int tag
cpt int cpt
ws int ws
return bool

get_IsValidObject() public method

Member get_IsValidObject
public get_IsValidObject ( int hvo ) : bool
hvo int hvo
return bool

get_MultiStringAlt() public method

Member get_MultiStringAlt
ISilDataAccess method
public get_MultiStringAlt ( int hvo, int tag, int ws ) : ITsString
hvo int hvo
tag int tag
ws int ws
return ITsString

get_MultiStringProp() public method

Member get_MultiStringProp
ISilDataAccess method
public get_MultiStringProp ( int hvo, int tag ) : ITsMultiString
hvo int hvo
tag int tag
return ITsMultiString

get_ObjFromGuid() public method

Member get_ObjFromGuid
ISilDataAccess method
public get_ObjFromGuid ( Guid uid ) : int
uid Guid uid
return int

get_ObjectProp() public method

Member get_ObjectProp
ISilDataAccess method
public get_ObjectProp ( int hvo, int tag ) : int
hvo int hvo
tag int tag
return int

get_Prop() public method

Member get_Prop
public get_Prop ( int hvo, int tag ) : object
hvo int hvo
tag int tag
return object

get_StringProp() public method

Member get_StringProp
ISilDataAccess method
public get_StringProp ( int hvo, int tag ) : ITsString
hvo int hvo
tag int tag
return ITsString

get_TimeProp() public method

Member get_TimeProp
ISilDataAccess method
public get_TimeProp ( int hvo, int tag ) : long
hvo int hvo
tag int tag
return long

get_UnicodeProp() public method

Member get_UnicodeProp
ISilDataAccess method
public get_UnicodeProp ( int obj, int tag ) : string
obj int obj
tag int tag
return string

get_VecItem() public method

Member get_VecItem
public get_VecItem ( int hvo, int tag, int index ) : int
hvo int hvo
tag int tag
index int index
return int

get_VecSize() public method

Member get_VecSize
public get_VecSize ( int hvo, int tag ) : int
hvo int hvo
tag int tag
return int

get_VecSizeAssumeCached() public method

Member get_VecSizeAssumeCached
public get_VecSizeAssumeCached ( int hvo, int tag ) : int
hvo int hvo
tag int tag
return int

get_WritingSystemsOfInterest() public method

Return a list of the encodings that are of interest within the database.
public get_WritingSystemsOfInterest ( int cwsMax, [ MarshalTypeRef ) : int
cwsMax int If cwsMax is zero, return the actual number (but no encodings).
MarshalTypeRef [
return int

set_UnicodeProp() public method

Member set_UnicodeProp
ISilDataAccess method
public set_UnicodeProp ( int obj, int tag, string bstr ) : void
obj int obj
tag int tag
bstr string bstr
return void