示例#1
0
        public void MultitableFindTest()
        {
            // 'FindMultiple' function uses a query with INNER JOIN to avoid a second trip to the DB
            var albumRepo = new AlbumRepository();
            Guid uniqueId;
            Guid.TryParse("02545961-2a64-4fdd-8c4d-7cc8bd5c6857", out uniqueId);
            var album = albumRepo.FindMultitable(uniqueId);

            Debug.Assert(album.Id != null);
        }