/// <summary> /// Deprecated Method for adding a new object to the PECAS EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPECAS(PECAS pECAS) { base.AddObject("PECAS", pECAS); }
/// <summary> /// Create a new PECAS object. /// </summary> /// <param name="iDPECA">Initial value of the IDPECA property.</param> /// <param name="nOMEPECA">Initial value of the NOMEPECA property.</param> /// <param name="iDFORNECEDOR">Initial value of the IDFORNECEDOR property.</param> public static PECAS CreatePECAS(global::System.Int32 iDPECA, global::System.String nOMEPECA, global::System.Int32 iDFORNECEDOR) { PECAS pECAS = new PECAS(); pECAS.IDPECA = iDPECA; pECAS.NOMEPECA = nOMEPECA; pECAS.IDFORNECEDOR = iDFORNECEDOR; return pECAS; }