C# Class Versionr.WorkspaceDB

Inheritance: SQLite.SQLiteConnection
Afficher le fichier Open project: eatplayhate/versionr Class Usage Examples

Méthodes publiques

Méthode Description
Create ( LocalDB localDB, string fullPath ) : WorkspaceDB
GetAllRecords ( ) : List
GetAlterationsForVersion ( System.Objects version ) : List
GetCachedRecords ( System.Objects version ) : List
GetHeads ( Branch branch ) : List
GetHistory ( System.Objects version, int limit = null ) : List
GetRecords ( System.Objects version ) : List
GetRecords ( System.Objects version, List &baseList, List &alterations ) : List
Open ( LocalDB localDB, string fullPath ) : WorkspaceDB

Private Methods

Méthode Description
AcceptDBVersion ( int dbVersion ) : bool
AcceptRemoteDBVersion ( int dbVersion ) : bool
CacheRecords ( IEnumerable records ) : List
Consolidate ( List baseList, List alterations, List deletions ) : List
GetAlterations ( System.Objects version ) : List
GetAlterationsInternal ( List parents ) : List
GetCachedRecord ( long index ) : Record
GetMergeInfo ( System.Guid versionID ) : IEnumerable
GetMergeInfoFromSource ( System.Guid versionID ) : List
PrepareTables ( ) : void
RelinkMissingDelete ( Record>.Dictionary records, Alteration x ) : long?
RunConsistencyCheck ( ) : void
WorkspaceDB ( string path, SQLite flags, LocalDB localDB ) : System

Method Details

Create() public static méthode

public static Create ( LocalDB localDB, string fullPath ) : WorkspaceDB
localDB LocalDB
fullPath string
Résultat WorkspaceDB

GetAllRecords() public méthode

public GetAllRecords ( ) : List
Résultat List

GetAlterationsForVersion() public méthode

public GetAlterationsForVersion ( System.Objects version ) : List
version System.Objects
Résultat List

GetCachedRecords() public méthode

public GetCachedRecords ( System.Objects version ) : List
version System.Objects
Résultat List

GetHeads() public méthode

public GetHeads ( Branch branch ) : List
branch Versionr.Objects.Branch
Résultat List

GetHistory() public méthode

public GetHistory ( System.Objects version, int limit = null ) : List
version System.Objects
limit int
Résultat List

GetRecords() public méthode

public GetRecords ( System.Objects version ) : List
version System.Objects
Résultat List

GetRecords() public méthode

public GetRecords ( System.Objects version, List &baseList, List &alterations ) : List
version System.Objects
baseList List
alterations List
Résultat List

Open() public static méthode

public static Open ( LocalDB localDB, string fullPath ) : WorkspaceDB
localDB LocalDB
fullPath string
Résultat WorkspaceDB