コード例 #1
0
 /// <summary>
 /// Create a new ProspectiveCorporateSponsor object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="sponsorId">Initial value of the SponsorId property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="companyName">Initial value of the CompanyName property.</param>
 /// <param name="contactName">Initial value of the ContactName property.</param>
 /// <param name="emailAddress">Initial value of the EmailAddress property.</param>
 public static ProspectiveCorporateSponsor CreateProspectiveCorporateSponsor(global::System.Int32 id, global::System.Int32 sponsorId, global::System.Int32 status, global::System.String companyName, global::System.String contactName, global::System.String emailAddress)
 {
     ProspectiveCorporateSponsor prospectiveCorporateSponsor = new ProspectiveCorporateSponsor();
     prospectiveCorporateSponsor.ID = id;
     prospectiveCorporateSponsor.SponsorId = sponsorId;
     prospectiveCorporateSponsor.Status = status;
     prospectiveCorporateSponsor.CompanyName = companyName;
     prospectiveCorporateSponsor.ContactName = contactName;
     prospectiveCorporateSponsor.EmailAddress = emailAddress;
     return prospectiveCorporateSponsor;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProspectiveCorporateSponsor EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProspectiveCorporateSponsor(ProspectiveCorporateSponsor prospectiveCorporateSponsor)
 {
     base.AddObject("ProspectiveCorporateSponsor", prospectiveCorporateSponsor);
 }