コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the calendar_friend EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocalendar_friend(calendar_friend calendar_friend)
 {
     base.AddObject("calendar_friend", calendar_friend);
 }
コード例 #2
0
 /// <summary>
 /// Create a new calendar_friend object.
 /// </summary>
 /// <param name="myUserId">Initial value of the myUserId property.</param>
 /// <param name="friendUserId">Initial value of the friendUserId property.</param>
 /// <param name="relationship">Initial value of the relationship property.</param>
 public static calendar_friend Createcalendar_friend(global::System.Guid myUserId, global::System.Guid friendUserId, global::System.String relationship)
 {
     calendar_friend calendar_friend = new calendar_friend();
     calendar_friend.myUserId = myUserId;
     calendar_friend.friendUserId = friendUserId;
     calendar_friend.relationship = relationship;
     return calendar_friend;
 }