/// <summary> /// Deprecated Method for adding a new object to the AllocationTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAllocationTypes(AllocationType allocationType) { base.AddObject("AllocationTypes", allocationType); }
/// <summary> /// Create a new AllocationType object. /// </summary> /// <param name="allocationTypeID">Initial value of the AllocationTypeID property.</param> public static AllocationType CreateAllocationType(global::System.Int32 allocationTypeID) { AllocationType allocationType = new AllocationType(); allocationType.AllocationTypeID = allocationTypeID; return allocationType; }