Exemplo n.º 1
0
 /// <summary>
 /// Create a new ReportedListing object.
 /// </summary>
 /// <param name="reportedListingId">Initial value of the ReportedListingId property.</param>
 /// <param name="listingId">Initial value of the ListingId property.</param>
 /// <param name="reportContent">Initial value of the ReportContent property.</param>
 public static ReportedListing CreateReportedListing(global::System.Int32 reportedListingId, global::System.Int32 listingId, global::System.String reportContent)
 {
     ReportedListing reportedListing = new ReportedListing();
     reportedListing.ReportedListingId = reportedListingId;
     reportedListing.ListingId = listingId;
     reportedListing.ReportContent = reportContent;
     return reportedListing;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ReportedListings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReportedListings(ReportedListing reportedListing)
 {
     base.AddObject("ReportedListings", reportedListing);
 }