/// <summary> /// Create a new CostCenter object. /// </summary> /// <param name="cCID">Initial value of the CCID property.</param> /// <param name="name">Initial value of the Name property.</param> public static CostCenter CreateCostCenter(global::System.Int32 cCID, global::System.String name) { CostCenter costCenter = new CostCenter(); costCenter.CCID = cCID; costCenter.Name = name; return costCenter; }
/// <summary> /// Deprecated Method for adding a new object to the CostCenter EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCostCenter(CostCenter costCenter) { base.AddObject("CostCenter", costCenter); }