public override NLGElement BuildElement() { Phrase.head = UnaryHead.BuildWord(); Phrase.compl = Complements .Select(complement => complement.BuildElement()) .ToArray(); return(Phrase); }
public Complements Get(Int64 ixComplement) { Complements complements = _context.Complements.AsNoTracking().Where(x => x.ixComplement == ixComplement).First(); complements.Languages = _context.Languages.Find(complements.ixLanguage); complements.LanguageStyles = _context.LanguageStyles.Find(complements.ixLanguageStyle); complements.ResponseTypes = _context.ResponseTypes.Find(complements.ixResponseType); return(complements); }