示例#1
0
        /// <summary>
        /// Create a new MovieLink object.
        /// </summary>
        /// <param name="id">Initial value of the ID property.</param>
        /// <param name="movieID">Initial value of the MovieID property.</param>
        /// <param name="linkTitle">Initial value of the LinkTitle property.</param>
        /// <param name="siteTitle">Initial value of the SiteTitle property.</param>
        /// <param name="pageUrl">Initial value of the PageUrl property.</param>
        /// <param name="pageSiteID">Initial value of the PageSiteID property.</param>
        /// <param name="downloadSiteID">Initial value of the DownloadSiteID property.</param>
        /// <param name="dowloadUrl">Initial value of the DowloadUrl property.</param>
        /// <param name="failedAttempts">Initial value of the FailedAttempts property.</param>
        /// <param name="version">Initial value of the Version property.</param>
        /// <param name="hasSubtitle">Initial value of the HasSubtitle property.</param>
        public static MovieLink CreateMovieLink(global::System.Int32 id, global::System.Int32 movieID, global::System.String linkTitle, global::System.String siteTitle, global::System.String pageUrl, global::System.String pageSiteID, global::System.String downloadSiteID, global::System.String dowloadUrl, global::System.Int32 failedAttempts, global::System.Int32 version, global::System.Boolean hasSubtitle)
        {
            MovieLink movieLink = new MovieLink();

            movieLink.ID             = id;
            movieLink.MovieID        = movieID;
            movieLink.LinkTitle      = linkTitle;
            movieLink.SiteTitle      = siteTitle;
            movieLink.PageUrl        = pageUrl;
            movieLink.PageSiteID     = pageSiteID;
            movieLink.DownloadSiteID = downloadSiteID;
            movieLink.DowloadUrl     = dowloadUrl;
            movieLink.FailedAttempts = failedAttempts;
            movieLink.Version        = version;
            movieLink.HasSubtitle    = hasSubtitle;
            return(movieLink);
        }
 /// <summary>
 /// Create a new MovieLink object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="movieID">Initial value of the MovieID property.</param>
 /// <param name="linkTitle">Initial value of the LinkTitle property.</param>
 /// <param name="siteTitle">Initial value of the SiteTitle property.</param>
 /// <param name="pageUrl">Initial value of the PageUrl property.</param>
 /// <param name="pageSiteID">Initial value of the PageSiteID property.</param>
 /// <param name="downloadSiteID">Initial value of the DownloadSiteID property.</param>
 /// <param name="dowloadUrl">Initial value of the DowloadUrl property.</param>
 /// <param name="failedAttempts">Initial value of the FailedAttempts property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 /// <param name="hasSubtitle">Initial value of the HasSubtitle property.</param>
 public static MovieLink CreateMovieLink(global::System.Int32 id, global::System.Int32 movieID, global::System.String linkTitle, global::System.String siteTitle, global::System.String pageUrl, global::System.String pageSiteID, global::System.String downloadSiteID, global::System.String dowloadUrl, global::System.Int32 failedAttempts, global::System.Int32 version, global::System.Boolean hasSubtitle)
 {
     MovieLink movieLink = new MovieLink();
     movieLink.ID = id;
     movieLink.MovieID = movieID;
     movieLink.LinkTitle = linkTitle;
     movieLink.SiteTitle = siteTitle;
     movieLink.PageUrl = pageUrl;
     movieLink.PageSiteID = pageSiteID;
     movieLink.DownloadSiteID = downloadSiteID;
     movieLink.DowloadUrl = dowloadUrl;
     movieLink.FailedAttempts = failedAttempts;
     movieLink.Version = version;
     movieLink.HasSubtitle = hasSubtitle;
     return movieLink;
 }
示例#3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MovieLinks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMovieLinks(MovieLink movieLink)
 {
     base.AddObject("MovieLinks", movieLink);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the MovieLinks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMovieLinks(MovieLink movieLink)
 {
     base.AddObject("MovieLinks", movieLink);
 }