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