/// <summary> /// Deprecated Method for adding a new object to the CompraBonos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompraBonos(CompraBonos compraBonos) { base.AddObject("CompraBonos", compraBonos); }
/// <summary> /// Create a new CompraBonos object. /// </summary> /// <param name="idCompra">Initial value of the IdCompra property.</param> public static CompraBonos CreateCompraBonos(global::System.Int32 idCompra) { CompraBonos compraBonos = new CompraBonos(); compraBonos.IdCompra = idCompra; return compraBonos; }