到達点 表題のとおり 準備 画像を格納するテーブル「TMDbPoster」には、あらかじめ列「Image」に画像を登録しておいた。どうやって登録したかは後日別記事で。 テーブル作成 CREATE TABLE [dbo] . [TMDbPoster] ( [ID] [int] IDENTITY ( 1 , 1 ) NOT NULL, [STREAMID] [uniqueidentifier] ROWGUIDCOL NOT NULL, [TMDbID] [int] NULL, [aspect_ratio] [numeric] ( 3 , 2 ) NULL, [file_path] [nvarchar] ( 256 ) NULL, [height] [int] NULL, [width] [int] NULL, [iso_639_1] [nvarchar] ( 50 ) NULL, [vote_average] [numeric] ( 18 , 14 ) NULL, [vote_count] [int] NULL, [Image] [varbinary] ( max ) FILESTREAM NULL, CONSTRAINT [PK_TMDbPoster] PRIMARY KEY CLUSTERED ( [ID] ASC ) WITH ( PAD_INDEX = OFF , STATISTICS_NORECOMPUTE = OFF , IGNORE_DUP_KEY = OFF , ALLOW_ROW_LOCKS = ON , ALLOW_PAGE_LOCKS = ON ) ON [PRIMARY] FILESTREAM_ON [FileStreamGroup1] , CONSTRAINT [UQ__TMDbPost__3214EC266F70E2A6] UNIQUE NONCLUSTERED ( [STREAMID] ASC ) WITH ( PAD_INDEX = OFF , STATISTICS_NORE