/// <summary> /// Deprecated Method for adding a new object to the BusinessUnitTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessUnitTypes(BusinessUnitType businessUnitType) { base.AddObject("BusinessUnitTypes", businessUnitType); }
/// <summary> /// Create a new BusinessUnitType object. /// </summary> /// <param name="businessUnitTypeID">Initial value of the BusinessUnitTypeID property.</param> /// <param name="name">Initial value of the Name property.</param> public static BusinessUnitType CreateBusinessUnitType(global::System.Int32 businessUnitTypeID, global::System.String name) { BusinessUnitType businessUnitType = new BusinessUnitType(); businessUnitType.BusinessUnitTypeID = businessUnitTypeID; businessUnitType.Name = name; return businessUnitType; }