Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 5
0
 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;
 }
Ejemplo n.º 6
0
        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));
        }
Ejemplo n.º 7
0
        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));
        }
Ejemplo n.º 8
0
 public IEnumerable <int> GetRangeIdPersonalPronounAndSubject(PersonalPronounCategory _personal, SubjectCategory _subject)
 {
     return(beingEndOfWordMaster.Where(n => n.PersonalCategory == _personal && n.SubjectCategory == _subject).Select(n => n.Id));
 }
Ejemplo n.º 9
0
 public IEnumerable <BeingWord> GetRangeIdPersonalPronounSubjectAndStepLevelMaster(StepLevel _level, PersonalPronounCategory _personal, SubjectCategory _subject)
 {
     return(beingEndOfWordMaster.Where(n => n.Level == _level && n.PersonalCategory == _personal && n.SubjectCategory == _subject));
 }
Ejemplo n.º 10
0
        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());
        }
Ejemplo n.º 11
0
 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());
 }
Ejemplo n.º 12
0
 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());
 }
Ejemplo n.º 13
0
 public List <int> GetMixCreOrObjAndCategorySubjectId(SubjectCategory creture, PersonalPronounCategory category)
 {
     return(verbMaster.Where(n => n.SubjectCategory == creture && n.PersonalCategory == category).Select(indexer => indexer.Id).ToList());
 }
Ejemplo n.º 14
0
 public List <Verb> GetMixCreOrObjAndCategorySubject(SubjectCategory creture, PersonalPronounCategory category)
 {
     return(verbMaster.Where(n => n.SubjectCategory == creture && n.PersonalCategory == category).ToList());
 }