public Subject(int id, int subCategory, int category, int comboId, string word) { this.Id = id; this.SubjectCategory = (SubjectCategory)subCategory; this.PersonalCategory = (PersonalPronounCategory)category; this.ComboId = comboId; this.ModificationWord = word; }
public BeingWord(int _id, SubjectCategory _subjectCategory, PersonalPronounCategory _personalCategory, StepLevel _level, int _comboId, int _priority) { this.Id = _id; this.SubjectCategory = _subjectCategory; this.PersonalCategory = _personalCategory; this.Level = _level; this.ComboId = _comboId; this.Priority = _priority; }
public Adjective(int id, SubjectCategory subCategory, PersonalPronounCategory perCategory, int group, int english, int comboId, AdjectiveCategory category) { this.Id = id; this.SubjectCategory = subCategory; this.PersonalCategory = perCategory; this.GroupId = group; this.EnglishId = english; this.ComboId = comboId; this.Category = category; }
public AdjectiveNumberOfPeopleEndOfWord(int _id, int _group, PersonalPronounCategory _category, StepLevel _level, int _english, int _priority, AdjectiveCategory _adjectiveCategory) { this.Id = _id; this.GroupId = _group; this.PersonCategory = _category; this.Level = _level; this.EnglishId = _english; this.Priority = _priority; this.Category = _adjectiveCategory; }
public Verb(int id, int endId, int subCategory, int perCategory, int comboId, int pastVerb, int pastParticiple, int progressing, int priority) { this.Id = id; this.GroupId = endId; this.SubjectCategory = (SubjectCategory)subCategory; this.PersonalCategory = (PersonalPronounCategory)perCategory; this.ComboId = comboId; this.PastVerbId = pastVerb; this.PastParticipleId = pastParticiple; this.ProgressingId = progressing; this.Priority = priority; }
public List <List <string> > GetCategorySubjectFurigana(PersonalPronounCategory personalCategory) { List <int> idList = null; switch (personalCategory) { case PersonalPronounCategory.None: idList = subjectMaster.Select(indexer => indexer.Id).ToList(); return(GetRangeFuriganaData(idList)); } idList = subjectMaster.Where(n => n.PersonalCategory == personalCategory).Select(indexer => indexer.Id).ToList(); return(GetRangeFuriganaData(idList)); }
public List <List <string> > GetMixCreOrObjAndCategorySubjectFurigana(SubjectCategory creture, PersonalPronounCategory category) { List <int> idList = subjectMaster.Where(n => n.SubjectCategory == creture && n.PersonalCategory == category).Select(indexer => indexer.Id).ToList(); return(GetRangeFuriganaData(idList)); }
public IEnumerable <int> GetRangeIdPersonalPronounAndSubject(PersonalPronounCategory _personal, SubjectCategory _subject) { return(beingEndOfWordMaster.Where(n => n.PersonalCategory == _personal && n.SubjectCategory == _subject).Select(n => n.Id)); }
public IEnumerable <BeingWord> GetRangeIdPersonalPronounSubjectAndStepLevelMaster(StepLevel _level, PersonalPronounCategory _personal, SubjectCategory _subject) { return(beingEndOfWordMaster.Where(n => n.Level == _level && n.PersonalCategory == _personal && n.SubjectCategory == _subject)); }
public List <Adjective> GetMixCreOrObjAndCategorySubject(SubjectCategory creture, PersonalPronounCategory category) { IEnumerable <Adjective> itemList = adjectiveMaster.Where(n => n.SubjectCategory == creture && n.PersonalCategory == ((category == PersonalPronounCategory.First) ? PersonalPronounCategory.First : PersonalPronounCategory.Second)); return(itemList.ToList()); }
public List <int> GetRangeEnglishIdGroupByGroupIdAndTimeTypeAndStepLevel(int _groupId, PersonalPronounCategory _personalCategory, StepLevel _level, AdjectiveCategory _category) { return(adjectiveNumberOfPeopleEndOfWordMaster.Where(n => n.GroupId == _groupId && n.PersonCategory == ((_personalCategory == PersonalPronounCategory.First) ? PersonalPronounCategory.First : PersonalPronounCategory.Second) && n.Level == _level && n.Category == _category) .Select(n => n.EnglishId).ToList()); }
public List <AdjectiveNumberOfPeopleEndOfWord> GetRangeEnglishItemGroupByGroupIdAndPersonCategory(int _groupId, PersonalPronounCategory _personalCategory, AdjectiveCategory _category) { return(adjectiveNumberOfPeopleEndOfWordMaster.Where(n => n.GroupId == _groupId && n.PersonCategory == ((_personalCategory == PersonalPronounCategory.First) ? PersonalPronounCategory.First : PersonalPronounCategory.Second) && n.Category == _category).ToList()); }
public List <int> GetMixCreOrObjAndCategorySubjectId(SubjectCategory creture, PersonalPronounCategory category) { return(verbMaster.Where(n => n.SubjectCategory == creture && n.PersonalCategory == category).Select(indexer => indexer.Id).ToList()); }
public List <Verb> GetMixCreOrObjAndCategorySubject(SubjectCategory creture, PersonalPronounCategory category) { return(verbMaster.Where(n => n.SubjectCategory == creture && n.PersonalCategory == category).ToList()); }