C# Class Studyzy.LearnEnglishBySubtitle.DbOperator

Afficher le fichier Open project: studyzy/LearnEnglishBySubtitle

Méthodes publiques

Méthode Description
AddIgnoreWord ( string word ) : void
BeginTran ( ) : void
ClearUserVocabulary ( ) : void
Commit ( ) : void
DeleteSubtitleWords ( string word ) : void
DeleteUserVocabulary ( string word ) : void
DeleteWord ( string word ) : void
FindAllUserVocabulary ( bool>.Expression funExpression ) : IList
FindSubtitleWords ( string word ) : IList
GetAllIgnoreWords ( ) : IList
GetAllUserKnownVocabulary ( ) : IList
GetAllUserUnKnownVocabulary ( ) : IList
GetAllUserVocabulary ( ) : IList
GetConfigValue ( string key ) : string
GetUserWord ( string word ) : UserVocabulary
InitDatabase ( ) : void
SaveSubtitleNewWords ( IList newWords, string subtitleName ) : void
SaveUserVocabulary ( IList userWords, string source ) : void
SaveUserVocabulary ( UserVocabulary userVocabulary ) : void
SetConfigValue ( string key, string value ) : void
UpdateStarFlag ( string word, bool isStar ) : void

Private Methods

Méthode Description
DbOperator ( ) : System
RunSql ( string sql ) : void

Method Details

AddIgnoreWord() public méthode

public AddIgnoreWord ( string word ) : void
word string
Résultat void

BeginTran() public méthode

public BeginTran ( ) : void
Résultat void

ClearUserVocabulary() public méthode

public ClearUserVocabulary ( ) : void
Résultat void

Commit() public méthode

public Commit ( ) : void
Résultat void

DeleteSubtitleWords() public méthode

public DeleteSubtitleWords ( string word ) : void
word string
Résultat void

DeleteUserVocabulary() public méthode

public DeleteUserVocabulary ( string word ) : void
word string
Résultat void

DeleteWord() public méthode

public DeleteWord ( string word ) : void
word string
Résultat void

FindAllUserVocabulary() public méthode

public FindAllUserVocabulary ( bool>.Expression funExpression ) : IList
funExpression bool>.Expression
Résultat IList

FindSubtitleWords() public méthode

public FindSubtitleWords ( string word ) : IList
word string
Résultat IList

GetAllIgnoreWords() public méthode

public GetAllIgnoreWords ( ) : IList
Résultat IList

GetAllUserKnownVocabulary() public méthode

public GetAllUserKnownVocabulary ( ) : IList
Résultat IList

GetAllUserUnKnownVocabulary() public méthode

public GetAllUserUnKnownVocabulary ( ) : IList
Résultat IList

GetAllUserVocabulary() public méthode

public GetAllUserVocabulary ( ) : IList
Résultat IList

GetConfigValue() public méthode

public GetConfigValue ( string key ) : string
key string
Résultat string

GetUserWord() public méthode

public GetUserWord ( string word ) : UserVocabulary
word string
Résultat Studyzy.LearnEnglishBySubtitle.Entities.UserVocabulary

InitDatabase() public méthode

public InitDatabase ( ) : void
Résultat void

SaveSubtitleNewWords() public méthode

public SaveSubtitleNewWords ( IList newWords, string subtitleName ) : void
newWords IList
subtitleName string
Résultat void

SaveUserVocabulary() public méthode

public SaveUserVocabulary ( IList userWords, string source ) : void
userWords IList
source string
Résultat void

SaveUserVocabulary() public méthode

public SaveUserVocabulary ( UserVocabulary userVocabulary ) : void
userVocabulary Studyzy.LearnEnglishBySubtitle.Entities.UserVocabulary
Résultat void

SetConfigValue() public méthode

public SetConfigValue ( string key, string value ) : void
key string
value string
Résultat void

UpdateStarFlag() public méthode

public UpdateStarFlag ( string word, bool isStar ) : void
word string
isStar bool
Résultat void