/// <summary> /// Deprecated Method for adding a new object to the PalletLocations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPalletLocations(PalletLocation palletLocation) { base.AddObject("PalletLocations", palletLocation); }
/// <summary> /// Create a new PalletLocation object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="isFullSize">Initial value of the IsFullSize property.</param> /// <param name="isExtended">Initial value of the IsExtended property.</param> /// <param name="availableVolume">Initial value of the AvailableVolume property.</param> /// <param name="usedVolume">Initial value of the UsedVolume property.</param> public static PalletLocation CreatePalletLocation(global::System.Int32 id, global::System.Boolean isFullSize, global::System.Boolean isExtended, global::System.Double availableVolume, global::System.Double usedVolume) { PalletLocation palletLocation = new PalletLocation(); palletLocation.ID = id; palletLocation.IsFullSize = isFullSize; palletLocation.IsExtended = isExtended; palletLocation.AvailableVolume = availableVolume; palletLocation.UsedVolume = usedVolume; return palletLocation; }