Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the recordings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTorecordings(recording recording)
 {
     base.AddObject("recordings", recording);
 }
Пример #2
0
 /// <summary>
 /// Create a new recording object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="gid">Initial value of the gid 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 recording Createrecording(global::System.Int32 id, global::System.String gid, global::System.Int32 name, global::System.Int32 artist_credit, global::System.Int32 edits_pending)
 {
     recording recording = new recording();
     recording.id = id;
     recording.gid = gid;
     recording.name = name;
     recording.artist_credit = artist_credit;
     recording.edits_pending = edits_pending;
     return recording;
 }