/// <summary> /// Deprecated Method for adding a new object to the SALES EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSALES(SALE sALE) { base.AddObject("SALES", sALE); }
/// <summary> /// Create a new SALE object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="cUSTOMERID">Initial value of the CUSTOMERID property.</param> /// <param name="iTEM">Initial value of the ITEM property.</param> /// <param name="qTY">Initial value of the QTY property.</param> /// <param name="uNITPRICE">Initial value of the UNITPRICE property.</param> /// <param name="tOTALPRICE">Initial value of the TOTALPRICE property.</param> /// <param name="sALESDATE">Initial value of the SALESDATE property.</param> /// <param name="lASTMODIFIEDDATE">Initial value of the LASTMODIFIEDDATE property.</param> public static SALE CreateSALE(global::System.Int32 id, global::System.Int32 cUSTOMERID, global::System.String iTEM, global::System.Int32 qTY, global::System.Decimal uNITPRICE, global::System.Decimal tOTALPRICE, global::System.DateTime sALESDATE, global::System.DateTime lASTMODIFIEDDATE) { SALE sALE = new SALE(); sALE.ID = id; sALE.CUSTOMERID = cUSTOMERID; sALE.ITEM = iTEM; sALE.QTY = qTY; sALE.UNITPRICE = uNITPRICE; sALE.TOTALPRICE = tOTALPRICE; sALE.SALESDATE = sALESDATE; sALE.LASTMODIFIEDDATE = lASTMODIFIEDDATE; return sALE; }