/// <summary> /// Deprecated Method for adding a new object to the CachedMoviesSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCachedMoviesSet(CachedMovies cachedMovies) { base.AddObject("CachedMoviesSet", cachedMovies); }
/// <summary> /// Create a new CachedMovies object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="rating">Initial value of the Rating property.</param> /// <param name="releaseYear">Initial value of the ReleaseYear property.</param> public static CachedMovies CreateCachedMovies(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String title, global::System.String rating, global::System.Int32 releaseYear) { CachedMovies cachedMovies = new CachedMovies(); cachedMovies.Id = id; cachedMovies.RowVersion = rowVersion; cachedMovies.Title = title; cachedMovies.Rating = rating; cachedMovies.ReleaseYear = releaseYear; return cachedMovies; }