/// <summary> /// Deprecated Method for adding a new object to the contactdetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocontactdetails(contactdetail contactdetail) { base.AddObject("contactdetails", contactdetail); }
/// <summary> /// Create a new contactdetail object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="cellNumber">Initial value of the CellNumber property.</param> /// <param name="e_mail">Initial value of the e_mail property.</param> /// <param name="home_tel">Initial value of the Home_tel property.</param> /// <param name="memberId">Initial value of the MemberId property.</param> /// <param name="work_Tel">Initial value of the Work_Tel property.</param> public static contactdetail Createcontactdetail(global::System.Int32 id, global::System.String cellNumber, global::System.String e_mail, global::System.String home_tel, global::System.Int32 memberId, global::System.String work_Tel) { contactdetail contactdetail = new contactdetail(); contactdetail.Id = id; contactdetail.CellNumber = cellNumber; contactdetail.e_mail = e_mail; contactdetail.Home_tel = home_tel; contactdetail.MemberId = memberId; contactdetail.Work_Tel = work_Tel; return contactdetail; }