/// <summary>
 /// Deprecated Method for adding a new object to the calendar_profile EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocalendar_profile(calendar_profile calendar_profile)
 {
     base.AddObject("calendar_profile", calendar_profile);
 }
 /// <summary>
 /// Create a new calendar_profile object.
 /// </summary>
 /// <param name="userid">Initial value of the userid property.</param>
 /// <param name="img">Initial value of the img property.</param>
 public static calendar_profile Createcalendar_profile(global::System.Guid userid, global::System.Byte[] img)
 {
     calendar_profile calendar_profile = new calendar_profile();
     calendar_profile.userid = userid;
     calendar_profile.img = img;
     return calendar_profile;
 }