/// <summary>
        /// Create a new Paycheck object.
        /// </summary>
        /// <param name="payCheckId">Initial value of the PayCheckId property.</param>
        /// <param name="associateId">Initial value of the AssociateId property.</param>
        /// <param name="payDate">Initial value of the PayDate property.</param>
        /// <param name="gross">Initial value of the Gross property.</param>
        public static Paycheck CreatePaycheck(global::System.Int32 payCheckId, global::System.Int32 associateId, global::System.DateTime payDate, global::System.Decimal gross)
        {
            Paycheck paycheck = new Paycheck();

            paycheck.PayCheckId  = payCheckId;
            paycheck.AssociateId = associateId;
            paycheck.PayDate     = payDate;
            paycheck.Gross       = gross;
            return(paycheck);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the Paychecks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaychecks(Paycheck paycheck)
 {
     base.AddObject("Paychecks", paycheck);
 }