Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Contact object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="primary">Initial value of the Primary property.</param>
 public static Contact CreateContact(global::System.Guid id, global::System.Boolean primary)
 {
     Contact contact = new Contact();
     contact.Id = id;
     contact.Primary = primary;
     return contact;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Contact EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContact(Contact contact)
 {
     base.AddObject("Contact", contact);
 }