/// <summary>
 /// Create a new Lender object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="dealershipSplit">Initial value of the DealershipSplit property.</param>
 /// <param name="bankSplit">Initial value of the BankSplit property.</param>
 /// <param name="addressID">Initial value of the AddressID property.</param>
 /// <param name="contactID">Initial value of the ContactID property.</param>
 public static Lender CreateLender(global::System.Guid id, global::System.Int32 dealershipSplit, global::System.Int32 bankSplit, global::System.Guid addressID, global::System.Guid contactID)
 {
     Lender lender = new Lender();
     lender.Id = id;
     lender.DealershipSplit = dealershipSplit;
     lender.BankSplit = bankSplit;
     lender.AddressID = addressID;
     lender.ContactID = contactID;
     return lender;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Lender EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLender(Lender lender)
 {
     base.AddObject("Lender", lender);
 }