列舉型別的Description屬性是個還不錯的功能,目前小弟將它應用在專案中,取代掉一些原本放在資料庫中較不易變動的列舉資料,以減少一些query與join。
文章移至http://petekcchen.com/2009/07/how-to-use-descriptionattribute-in-enum.html
列舉型別的Description屬性是個還不錯的功能,目前小弟將它應用在專案中,取代掉一些原本放在資料庫中較不易變動的列舉資料,以減少一些query與join。
文章移至http://petekcchen.com/2009/07/how-to-use-descriptionattribute-in-enum.html