public virtual IOriginModel MapToModelListing(IOrigin entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IOrigin, OriginModel>(entity); // Origin Properties model.CharacterSet = entity.CharacterSet; // Related Objects // <None> // Return Entity return(model); }
public virtual IPowerAliasModel MapToModelListing(IPowerAlias entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IPowerAlias, PowerAliasModel>(entity); // PowerAlias Properties // <None> // Related Objects model.PowerId = entity.PowerId; // Return Entity return(model); }
public virtual IGenderModel MapToModelListing(IGender entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IGender, GenderModel>(entity); // Gender Properties // <None> // Related Objects // <None> // Return Entity return(model); }
public virtual IStudioModel MapToModelListing(IStudio entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IStudio, StudioModel>(entity); // Studio Properties // <None> // Related Objects // <None> // Return Entity return(model); }
public virtual IImageFileModel MapToModelListing(IImageFile entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IImageFile, ImageFileModel>(entity); // ImageFile Properties // <None> // Related Objects // <None> // Return Entity return(model); }
public virtual IResourceTypeModel MapToModelListing(IResourceType entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IResourceType, ResourceTypeModel>(entity); // ResourceType Properties model.DetailResourceName = entity.DetailResourceName; model.ListResourceName = entity.ListResourceName; // Related Objects // <None> // Return Entity return(model); }
public virtual ILocationModel MapToModelListing(ILocation entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <ILocation, LocationModel>(entity); // Location Properties model.StartYear = entity.StartYear; // Related Objects model.FirstIssueAppearanceId = entity.FirstIssueAppearanceId; model.PrimaryImageFileId = entity.PrimaryImageFileId; // Return Entity return(model); }
public virtual IChatModel MapToModelListing(IChat entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IChat, ChatModel>(entity); // Chat Properties model.ChannelName = entity.ChannelName; model.PasswordHash = entity.PasswordHash; // Related Objects model.ImageFileId = entity.ImageFileId; // Return Entity return(model); }
public virtual IPromoModel MapToModelListing(IPromo entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IPromo, PromoModel>(entity); // Promo Properties model.Link = entity.Link; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; model.AuthorId = entity.AuthorId; model.ResourceTypeId = entity.ResourceTypeId; // Return Entity return(model); }
public virtual IPublisherModel MapToModelListing(IPublisher entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IPublisher, PublisherModel>(entity); // Publisher Properties model.LocationAddress = entity.LocationAddress; model.LocationCity = entity.LocationCity; model.LocationState = entity.LocationState; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; // Return Entity return(model); }
public virtual ISeriesModel MapToModelListing(ISeries entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <ISeries, SeriesModel>(entity); // Series Properties model.Startyear = entity.Startyear; // Related Objects model.PublisherId = entity.PublisherId; model.FirstEpisodeId = entity.FirstEpisodeId; model.LastEpisodeId = entity.LastEpisodeId; // Return Entity return(model); }
public virtual ITeamModel MapToModelListing(ITeam entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <ITeam, TeamModel>(entity); // Team Properties // <None> // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; model.FirstIssueAppearanceId = entity.FirstIssueAppearanceId; model.PublisherId = entity.PublisherId; // Return Entity return(model); }
public virtual IVolumeModel MapToModelListing(IVolume entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IVolume, VolumeModel>(entity); // Volume Properties model.Startyear = entity.Startyear; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; model.FirstIssueId = entity.FirstIssueId; model.LastIssueId = entity.LastIssueId; model.PublisherId = entity.PublisherId; // Return Entity return(model); }
public virtual IIssueModel MapToModelListing(IIssue entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IIssue, IssueModel>(entity); // Issue Properties model.HasStaffReview = entity.HasStaffReview; model.CoverDate = entity.CoverDate; model.StoreDate = entity.StoreDate; model.IssueNumber = entity.IssueNumber; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; model.VolumeId = entity.VolumeId; // Return Entity return(model); }
public virtual ICharacterModel MapToModelListing(ICharacter entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <ICharacter, CharacterModel>(entity); // Character Properties model.RealName = entity.RealName; model.DateOfBirth = entity.DateOfBirth; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; model.FirstIssueAppearanceId = entity.FirstIssueAppearanceId; model.GenderId = entity.GenderId; model.OriginId = entity.OriginId; model.PublisherId = entity.PublisherId; // Return Entity return(model); }
public virtual IEpisodeModel MapToModelListing(IEpisode entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IEpisode, EpisodeModel>(entity); // Episode Properties model.HasStaffReview = entity.HasStaffReview; model.AirDate = entity.AirDate; model.EpisodeCode = entity.EpisodeCode; model.SeasonNumber = entity.SeasonNumber; model.EpisodeNumber = entity.EpisodeNumber; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; model.SeriesId = entity.SeriesId; // Return Entity return(model); }
public virtual IPersonModel MapToModelListing(IPerson entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IPerson, PersonModel>(entity); // Person Properties model.Hometown = entity.Hometown; model.Country = entity.Country; model.Email = entity.Email; model.Website = entity.Website; model.BirthDate = entity.BirthDate; model.DeathDate = entity.DeathDate; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; model.GenderId = entity.GenderId; // Return Entity return(model); }
public virtual IMovieModel MapToModelListing(IMovie entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IMovie, MovieModel>(entity); // Movie Properties model.HasStaffReview = entity.HasStaffReview; model.Distributor = entity.Distributor; model.BoxOfficeRevenue = entity.BoxOfficeRevenue; model.TotalRevenue = entity.TotalRevenue; model.Budget = entity.Budget; model.Rating = entity.Rating; model.ReleaseDate = entity.ReleaseDate; model.RunTime = entity.RunTime; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; // Return Entity return(model); }
public virtual IVideoModel MapToModelListing(IVideo entity, int currentDepth = 1) { currentDepth++; var model = NameableEntityMapper.MapToModelListing <IVideo, VideoModel>(entity); // Video Properties model.LowUrl = entity.LowUrl; model.HighUrl = entity.HighUrl; model.HdUrl = entity.HdUrl; model.Url = entity.Url; model.LengthSeconds = entity.LengthSeconds; model.PublishDate = entity.PublishDate; // Related Objects model.PrimaryImageFileId = entity.PrimaryImageFileId; model.AuthorId = entity.AuthorId; model.VideoTypeId = entity.VideoTypeId; // Return Entity return(model); }