コード例 #1
0
 /// <summary>
 /// Create a new SavedListing object.
 /// </summary>
 /// <param name="savedListingId">Initial value of the SavedListingId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="listingId">Initial value of the ListingId property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static SavedListing CreateSavedListing(global::System.Int32 savedListingId, global::System.Guid userId, global::System.Int32 listingId, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted)
 {
     SavedListing savedListing = new SavedListing();
     savedListing.SavedListingId = savedListingId;
     savedListing.UserId = userId;
     savedListing.ListingId = listingId;
     savedListing.CreateDate = createDate;
     savedListing.CreatedBy = createdBy;
     savedListing.IsDeleted = isDeleted;
     return savedListing;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SavedListings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSavedListings(SavedListing savedListing)
 {
     base.AddObject("SavedListings", savedListing);
 }