/// <summary> /// Deprecated Method for adding a new object to the Percha EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPercha(Percha percha) { base.AddObject("Percha", percha); }
/// <summary> /// Create a new Percha object. /// </summary> /// <param name="idEmpresa">Initial value of the IdEmpresa property.</param> /// <param name="idPercha">Initial value of the IdPercha property.</param> /// <param name="nro_Divisiones">Initial value of the Nro_Divisiones property.</param> /// <param name="idBodega">Initial value of the IdBodega property.</param> public static Percha CreatePercha(global::System.Int32 idEmpresa, global::System.Int32 idPercha, global::System.Decimal nro_Divisiones, global::System.Int32 idBodega) { Percha percha = new Percha(); percha.IdEmpresa = idEmpresa; percha.IdPercha = idPercha; percha.Nro_Divisiones = nro_Divisiones; percha.IdBodega = idBodega; return percha; }