public static void Populate_RA(this MovieDB_Fanart m_ra, MovieDB_Image_Result result, int movieID) { m_ra.MovieId = movieID; m_ra.ImageType = result.ImageType; m_ra.ImageSize = result.ImageSize; m_ra.ImageWidth = result.ImageWidth; m_ra.ImageHeight = result.ImageHeight; m_ra.Enabled = 1; }
public static void Populate(this MovieDB_Poster m, MovieDB_Image_Result result, int movieID) { m.MovieId = movieID; m.ImageID = result.ImageID; m.ImageType = result.ImageType; m.ImageSize = result.ImageSize; m.URL = result.URL; m.ImageWidth = result.ImageWidth; m.ImageHeight = result.ImageHeight; m.Enabled = 1; }
public void Populate(MovieDB_Image_Result searchResult, int movieID) { this.MovieId = movieID; this.ImageID = searchResult.ImageID; this.ImageType = searchResult.ImageType; this.ImageSize = searchResult.ImageSize; this.URL = searchResult.URL; this.ImageWidth = searchResult.ImageWidth; this.ImageHeight = searchResult.ImageHeight; this.Enabled = 1; }