C# Class Versionr.LocalDB

Inheritance: SQLite.SQLiteConnection
Show file Open project: eatplayhate/versionr Class Usage Examples

Public Methods

Method Description
Create ( string fullPath ) : LocalDB
Open ( string fullPath ) : LocalDB

Private Methods

Method Description
AcquireLock ( ) : bool
AddStageOperation ( LocalState ss ) : void
AddStageOperations ( IEnumerable newStageOperations ) : void
CacheRecords ( System.Guid iD, List results ) : void
DeserializeCachedRecords ( byte data, List &results ) : bool
DeserializeRecord ( BinaryReader br ) : Record
GetCachedRecords ( System.Guid iD, List &results ) : bool
GetMappedStage ( ) : List>.Dictionary
GetPartialPath ( ) : string
LoadFileTimes ( ) : LocalState.FileTimestamp>.Dictionary
LocalDB ( string path, SQLite flags ) : System
PrepareTables ( ) : void
RefreshPartialPath ( ) : void
RemoveFileTime ( string canonicalName ) : void
RemoveStageOperation ( LocalState ss ) : void
ReplaceFileTimes ( LocalState.FileTimestamp>.Dictionary filetimes ) : void
SerializeCachedRecords ( List results ) : byte[]
SerializeRecord ( Record x, BinaryWriter bw ) : void
UpdateFileTime ( string canonicalName, LocalState ft, bool present ) : void
Upgrade ( ) : bool

Method Details

Create() public static method

public static Create ( string fullPath ) : LocalDB
fullPath string
return LocalDB

Open() public static method

public static Open ( string fullPath ) : LocalDB
fullPath string
return LocalDB