Ejemplo n.º 1
0
 /// <summary>
 /// Create a new movie object.
 /// </summary>
 /// <param name="movie_id">Initial value of the movie_id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="shooting">Initial value of the shooting property.</param>
 public static movie Createmovie(global::System.Int32 movie_id, global::System.String name, Location shooting)
 {
     movie movie = new movie();
     movie.movie_id = movie_id;
     movie.name = name;
     movie.shooting = StructuralObject.VerifyComplexObjectIsNotNull(shooting, "shooting");
     return movie;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the movies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomovies(movie movie)
 {
     base.AddObject("movies", movie);
 }