예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the media EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomedia(medium medium)
 {
     base.AddObject("media", medium);
 }
예제 #2
0
 /// <summary>
 /// Create a new medium object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="tracklist">Initial value of the tracklist property.</param>
 /// <param name="release">Initial value of the release property.</param>
 /// <param name="position">Initial value of the position property.</param>
 /// <param name="edits_pending">Initial value of the edits_pending property.</param>
 public static medium Createmedium(global::System.Int32 id, global::System.Int32 tracklist, global::System.Int32 release, global::System.Int32 position, global::System.Int32 edits_pending)
 {
     medium medium = new medium();
     medium.id = id;
     medium.tracklist = tracklist;
     medium.release = release;
     medium.position = position;
     medium.edits_pending = edits_pending;
     return medium;
 }