Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ContactInfoSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContactInfoSet(ContactInfo contactInfo)
 {
     base.AddObject("ContactInfoSet", contactInfo);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Called when [delete contact info command].
 /// </summary>
 /// <param name="contactInfoToDelete">The contact info to delete.</param>
 public void OnDeleteContactInfoCommand(ContactInfo contactInfoToDelete)
 {
     ContactInfoSet.Remove(contactInfoToDelete);
     RaisePropertyChanged("ContactInfoSet");
 }
Exemplo n.º 3
0
 /// <summary>
 /// Create a new ContactInfo object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 public static ContactInfo CreateContactInfo(global::System.Guid id, global::System.String type, global::System.DateTime createdDate)
 {
     ContactInfo contactInfo = new ContactInfo();
     contactInfo.Id = id;
     contactInfo.Type = type;
     contactInfo.CreatedDate = createdDate;
     return contactInfo;
 }