/// <summary>
 /// Create a new collection object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="loan_id">Initial value of the loan_id property.</param>
 /// <param name="collectiondate">Initial value of the collectiondate property.</param>
 /// <param name="amoutn">Initial value of the amoutn property.</param>
 public static collection Createcollection(global::System.Int32 id, global::System.Int32 loan_id, global::System.DateTime collectiondate, global::System.Int32 amoutn)
 {
     collection collection = new collection();
     collection.id = id;
     collection.loan_id = loan_id;
     collection.collectiondate = collectiondate;
     collection.amoutn = amoutn;
     return collection;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the collections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocollections(collection collection)
 {
     base.AddObject("collections", collection);
 }