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