/// <summary>
 /// Deprecated Method for adding a new object to the LoanTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLoanTypes(LoanType loanType)
 {
     base.AddObject("LoanTypes", loanType);
 }
 /// <summary>
 /// Create a new LoanType object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="typename">Initial value of the typename property.</param>
 public static LoanType CreateLoanType(global::System.Int32 id, global::System.String typename)
 {
     LoanType loanType = new LoanType();
     loanType.id = id;
     loanType.typename = typename;
     return loanType;
 }