/// <summary> /// Deprecated Method for adding a new object to the ListingContact EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToListingContact(ListingContact listingContact) { base.AddObject("ListingContact", listingContact); }
/// <summary> /// Create a new ListingContact object. /// </summary> /// <param name="listingContactId">Initial value of the ListingContactId property.</param> /// <param name="listingId">Initial value of the ListingId property.</param> /// <param name="contactNo">Initial value of the ContactNo property.</param> /// <param name="contactTypeId">Initial value of the ContactTypeId property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="updatedOn">Initial value of the UpdatedOn property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="updatedBy">Initial value of the UpdatedBy property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static ListingContact CreateListingContact(global::System.Int64 listingContactId, global::System.Int64 listingId, global::System.Decimal contactNo, global::System.Int16 contactTypeId, global::System.DateTime createdOn, global::System.DateTime updatedOn, global::System.Int64 createdBy, global::System.Int64 updatedBy, global::System.Boolean isActive, global::System.Boolean isDeleted) { ListingContact listingContact = new ListingContact(); listingContact.ListingContactId = listingContactId; listingContact.ListingId = listingId; listingContact.ContactNo = contactNo; listingContact.ContactTypeId = contactTypeId; listingContact.CreatedOn = createdOn; listingContact.UpdatedOn = updatedOn; listingContact.CreatedBy = createdBy; listingContact.UpdatedBy = updatedBy; listingContact.IsActive = isActive; listingContact.IsDeleted = isDeleted; return listingContact; }