/// <summary> /// Deprecated Method for adding a new object to the costcentres EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocostcentres(costcentre costcentre) { base.AddObject("costcentres", costcentre); }
/// <summary> /// Create a new costcentre object. /// </summary> /// <param name="costCentreName">Initial value of the CostCentreName property.</param> /// <param name="costCentre1">Initial value of the CostCentre1 property.</param> public static costcentre Createcostcentre(global::System.String costCentreName, global::System.String costCentre1) { costcentre costcentre = new costcentre(); costcentre.CostCentreName = costCentreName; costcentre.CostCentre1 = costCentre1; return costcentre; }