예제 #1
0
        public IEnumerable <tAlbumType> takeAllType()
        {
            dbProjectMusicStoreEntities db = new dbProjectMusicStoreEntities();
            var result = db.tAlbumTypes.Select(p => p).ToList();

            return(result);
        }
예제 #2
0
        public IEnumerable <tProductKind> takeAllKind()
        {
            dbProjectMusicStoreEntities db = new dbProjectMusicStoreEntities();
            var result = db.tProductKinds.Select(p => p);

            return(result);
        }