Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the contacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocontacts(contact contact)
 {
     base.AddObject("contacts", contact);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new contact object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="contact_code">Initial value of the contact_code property.</param>
 /// <param name="contact_type">Initial value of the contact_type property.</param>
 /// <param name="seq">Initial value of the seq property.</param>
 /// <param name="content">Initial value of the content property.</param>
 /// <param name="label">Initial value of the label property.</param>
 /// <param name="stamp">Initial value of the stamp property.</param>
 /// <param name="access_criteria">Initial value of the access_criteria property.</param>
 public static contact Createcontact(global::System.Int32 id, global::System.String contact_code, global::System.String contact_type, global::System.Int32 seq, global::System.String content, global::System.String label, global::System.DateTime stamp, global::System.String access_criteria)
 {
     contact contact = new contact();
     contact.id = id;
     contact.contact_code = contact_code;
     contact.contact_type = contact_type;
     contact.seq = seq;
     contact.content = content;
     contact.label = label;
     contact.stamp = stamp;
     contact.access_criteria = access_criteria;
     return contact;
 }