C# Class Kreyos.Classes.Managers.DatabaseManager

Afficher le fichier Open project: kreyosopensource/KreyosWP

Méthodes publiques

Свойство Type Description
DB_NAME string
KREYOS_USER_ACTIVITIES string
KREYOS_USER_PROFILE string

Méthodes publiques

Méthode Description
DeleteActivities ( ) : void
DeleteActivity ( int p_epoch ) : void
Init ( string p_user ) : void
InsertActivity ( Kreyos_User_Activities p_activity ) : void
ReadActivities ( ) : ObservableCollection
ReadActivity ( uint p_epoch ) : Kreyos_User_Activities
SaveUserAct ( List p_acts ) : void
UpdateActivity ( Kreyos_User_Activities p_activity ) : void

Private Methods

Méthode Description
CheckFileExists ( string p_fileName ) : Task
DatabaseManager ( ) : System
OnCreate ( string p_dbPath, string p_dbName ) : Task

Method Details

DeleteActivities() public méthode

public DeleteActivities ( ) : void
Résultat void

DeleteActivity() public méthode

public DeleteActivity ( int p_epoch ) : void
p_epoch int
Résultat void

Init() public méthode

public Init ( string p_user ) : void
p_user string
Résultat void

InsertActivity() public méthode

public InsertActivity ( Kreyos_User_Activities p_activity ) : void
p_activity Kreyos.Classes.DBTables.Kreyos_User_Activities
Résultat void

ReadActivities() public méthode

public ReadActivities ( ) : ObservableCollection
Résultat ObservableCollection

ReadActivity() public méthode

public ReadActivity ( uint p_epoch ) : Kreyos_User_Activities
p_epoch uint
Résultat Kreyos.Classes.DBTables.Kreyos_User_Activities

SaveUserAct() public méthode

public SaveUserAct ( List p_acts ) : void
p_acts List
Résultat void

UpdateActivity() public méthode

public UpdateActivity ( Kreyos_User_Activities p_activity ) : void
p_activity Kreyos.Classes.DBTables.Kreyos_User_Activities
Résultat void

Property Details

DB_NAME public_oe static_oe property

public static string DB_NAME
Résultat string

KREYOS_USER_ACTIVITIES public_oe static_oe property

The following keys are the actual table name
public static string KREYOS_USER_ACTIVITIES
Résultat string

KREYOS_USER_PROFILE public_oe static_oe property

public static string KREYOS_USER_PROFILE
Résultat string