/// <summary> /// Deprecated Method for adding a new object to the BusinessUnits EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessUnits(BusinessUnit businessUnit) { base.AddObject("BusinessUnits", businessUnit); }
/// <summary> /// Create a new BusinessUnit object. /// </summary> /// <param name="businessUnitID">Initial value of the BusinessUnitID property.</param> public static BusinessUnit CreateBusinessUnit(global::System.Int32 businessUnitID) { BusinessUnit businessUnit = new BusinessUnit(); businessUnit.BusinessUnitID = businessUnitID; return businessUnit; }