CSharp
å¼ç¤¾ã«æ¥ã人ãè¿æããå®ä¾(ï¼)ã¤ãã³ããä»åã¯sunotora è¿æä¼ã¨ãããã¨ã§ããã¤ã®éã«ãçºè¡¨è ã«ããã¦ããã®ã§çºè¡¨ãã¾ããã (ååã¯ä½èª¿ãå´©ãã¦åå åºæ¥ãªãã£ããããã¾ãããã) çºè¡¨è³æã¨ããåã®gist (ãªãè³æã¯äºåãªãæ¶ãããå¯è½æ§ãããâ¦
æ¦è¦ ããã°ã©ã ã®è¨è¨ã§ã¯ããããåããããªswitchæããã¡ãã¡ã«ããã¨æ¹ä¿®ãå°é£ã«ãªããã¨è¨ããã¦ãã¾ãããããã£ãå ´åã¯ããswitchã®åå²ãããªãã¸ã§ã¯ãã®å¤æ æ§ãå©ç¨ãã¦ç¡ããã¹ãã ãã¨ãè¨ããã¾ãã ããããããã¯æ¬å½ã§ãããããããã¹â¦
ãªã¹ãã®ã½ã¼ããªãã¦ä»æLINQã§OrderBy/ThenByã使ããããååãã¨ã¯ãããããè¡ããªãã®ãUIå¨ãã§ããã ãWindows Formsã§data objectãå®ç¾©ãã¦ãã®ListãDataGridViewã«DataBindããããããããã¯ãªãã¯ãã¦ãã½ã¼ããã¦ãããªããã§ããã©ï¼ã ãâ¦
ååã®æ¼ç¿(åºç¤ããã°ã©ãã³ã°æ¼ç¿(1) - æè¡memo)ã¨åã¡ã³ãã¼ã§ãã¾ãä¼¼ããããªããã°ã©ãã³ã°æ¼ç¿åé¡ããã£ã¦ã¿ãä¼ãéãã¾ããã åé¡ ã³ãã³ãã©ã¤ã³ã§åããããããã²ã¼ã ãä½ãã¾ããã ä»æ§ åãã«ãåºãæãå ¥åãã¦ãã ãã(g:ã°ã¼ãc:ãã§ãâ¦
æ¦ãããæ¯è¼çåé·ãªæ§æãæã¡ãã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ãè¡ããã·ã³ã°ã«ãã£ã¹ãããã使ããã¯ã©ã¹ãã¼ã¹ã§éçåä»ãã®ãªãã¸ã§ã¯ãæåè¨èªã§ãå®è£ ãåä¸ç¶æ¿ãã¤ã³ã¿ãã§ã¼ã¹ãå¤éç¶æ¿ããããããªããã°ã©ãã³ã°è¨èªã®è©±ã§ãã ãªãã以ä¸ã®ã³ã¼ãä¾â¦
ç®ç log4netã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãä½ã ã使ãã«ãããç¬èªã®é¢æ°ã§ãã°ã«æ¸ãè¾¼ã¿ãã ã§ãèªä½ã¯ã©ã¹ã§ã©ããããã¨%locationçã®log4netã§åºåãããæ¸ãè¾¼ã¿å ´æãæ å ±ãå ¨é¨ç¬èªã¯ã©ã¹ã«ãªã£ã¦ãã¾ã ã¨ã©ã¼å¦ççãåããããªãã¨ãä½åº¦ãä½ããããªã â¦
çµå±ä½ãããããã®ãã¯ããããããªãã£ãã®ã§ãããLINQ楽ãããLINQãã¨ããã話ã§ãããã¶ãã åç½®ã ããã°ã©ã ããåçã«çæããSQLãDBã«åãåãããããã¨ã£ã¦ãããããã¨æããã§ãã ä¾ãã°ããããSQLã«ã¤ãã¦ã select * from product whereâ¦