.NET Frameworkãã®è¨äºã¯ C# Advent Calendar 2012 ã®åå è¨äºã§ããLINQ to Entities ã«ãããã¯ã¨ãªã®è¨è¿°æ¹æ³ã¯ MSDN ã® LINQ to Entities ã§ã®ã¯ã¨ãª ã«è¨è¼ãããã®ã§ããããSQL ã§ã¯ããããããã®ã«ï¼ãã¨ããã¨ãã®éå¼ããªãã¡ã¬ã³ã¹ããªãã£ãã®ã§ãã¾ã¨ãã¦ã¿ã¾ããã é¸æåºæ¬ã¯æ¯è¼æ¼ç®åããã®ã¾ã¾ä½¿ãã¾ãããå¾è¿°ããããã«ãä¸é¨ä¾å¤ãããã¾ãã説æSQLLINQ to Entitiesçããx = 'y'Where(item => item.x == y) ã¾ã㯠Where(item => item.x.CompareTo(y) == 0)çãããªãx <> 'y'Where(item => item.x != y) ã¾ã㯠Where(item => item.x.CompareTo(y) != 0)以ä¸x
{{#tags}}- {{label}}
{{/tags}}