/// <summary>
        /// Create a new hoadon object.
        /// </summary>
        /// <param name="mahoadon">Initial value of the mahoadon property.</param>
        public static hoadon Createhoadon(global::System.Int32 mahoadon)
        {
            hoadon hoadon = new hoadon();

            hoadon.mahoadon = mahoadon;
            return(hoadon);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the hoadons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTohoadons(hoadon hoadon)
 {
     base.AddObject("hoadons", hoadon);
 }