C# Class Studyzy.LearnEnglishBySubtitle.DbOperator

Mostrar archivo Open project: studyzy/LearnEnglishBySubtitle

Public Methods

Method 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

Method Description
DbOperator ( ) : System
RunSql ( string sql ) : void

Method Details

AddIgnoreWord() public method

public AddIgnoreWord ( string word ) : void
word string
return void

BeginTran() public method

public BeginTran ( ) : void
return void

ClearUserVocabulary() public method

public ClearUserVocabulary ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

DeleteSubtitleWords() public method

public DeleteSubtitleWords ( string word ) : void
word string
return void

DeleteUserVocabulary() public method

public DeleteUserVocabulary ( string word ) : void
word string
return void

DeleteWord() public method

public DeleteWord ( string word ) : void
word string
return void

FindAllUserVocabulary() public method

public FindAllUserVocabulary ( bool>.Expression funExpression ) : IList
funExpression bool>.Expression
return IList

FindSubtitleWords() public method

public FindSubtitleWords ( string word ) : IList
word string
return IList

GetAllIgnoreWords() public method

public GetAllIgnoreWords ( ) : IList
return IList

GetAllUserKnownVocabulary() public method

public GetAllUserKnownVocabulary ( ) : IList
return IList

GetAllUserUnKnownVocabulary() public method

public GetAllUserUnKnownVocabulary ( ) : IList
return IList

GetAllUserVocabulary() public method

public GetAllUserVocabulary ( ) : IList
return IList

GetConfigValue() public method

public GetConfigValue ( string key ) : string
key string
return string

GetUserWord() public method

public GetUserWord ( string word ) : UserVocabulary
word string
return Studyzy.LearnEnglishBySubtitle.Entities.UserVocabulary

InitDatabase() public method

public InitDatabase ( ) : void
return void

SaveSubtitleNewWords() public method

public SaveSubtitleNewWords ( IList newWords, string subtitleName ) : void
newWords IList
subtitleName string
return void

SaveUserVocabulary() public method

public SaveUserVocabulary ( IList userWords, string source ) : void
userWords IList
source string
return void

SaveUserVocabulary() public method

public SaveUserVocabulary ( UserVocabulary userVocabulary ) : void
userVocabulary Studyzy.LearnEnglishBySubtitle.Entities.UserVocabulary
return void

SetConfigValue() public method

public SetConfigValue ( string key, string value ) : void
key string
value string
return void

UpdateStarFlag() public method

public UpdateStarFlag ( string word, bool isStar ) : void
word string
isStar bool
return void