/// <summary>
        /// Create a new activity object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="hbillno">Initial value of the hbillno property.</param>
        /// <param name="accountno">Initial value of the accountno property.</param>
        public static activity Createactivity(global::System.Int32 id, global::System.String hbillno, global::System.String accountno)
        {
            activity activity = new activity();

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