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