Tham khảo tài liệu 'practical database programming with visual c#.net- p5', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | C Language Enhancement for LINQ 223 foreach var fi in facultyUpdate Faculty faculty . First f string faculty_id string phone h a n es Figure Piece ol srnnple code to read mid updnte database. tion of compositionalAPIs tlnH lev. .qo expressive power of query languages in domains such as relational databases and XML. Compared with C significant enhancements have been added into C and these enhancements arc miinly acvcloacd to ssppart Queiy. LINQ is asctinsoPlanasasccatcnsiontthvIaunports data querying in a type-safe way it is released with ihulsie-t version Visual queried whishweneocOicsutasd inlheproviotios cationaatthiochnnter contakcthc form of object. VLOVSai l c t 0atals n inclsdua LINQ to . O Qlol atcSet oOndUNQiGEniLOes XML LeNQtoXML snd so on. In aOditionto thoso eeceralLINQ NQ ere made foa CCimdm loeeht emoinecmooLcnts vf thesa iiopemcmcrs sa ann i Lambda expressions Exienrics methods . Implicitly tyccdiosalvaaLanies Query t iL asi v Let s have cdeta eddiccoeuionoUt0vse topics one by one. LambdaExpressio os Lambda expressions are a language feature that is similar in many ways to anonymous methods. In fact iflambdaexpressionshadbeen developed and implemented into the language first there would have been no need for anonymous methods. The basic idea of using IcmLdc oahreaaiona in asecPcoclo csdatc. In Lite salllyvcnsion C. such as m0LOi-n iavury contm mioaca I c ncdt mctliodscnthnCdic mefluids canworaonCSsceveino . Aodnymnns mn-hcScand ItmSda expressiogssxlynathenasacofVOa vaLu coUc soammon in functional aaoscommLng. The ssnlad ofiambdoecoreesivnccanbe expressed ns n .