partial void OnWarehouseZoneGroupChanging(global::Microsoft.Dynamics.DataEntities.WarehouseZoneGroup value);
        public static WarehouseZone CreateWarehouseZone(string dataAreaId, string zoneId, global::Microsoft.Dynamics.DataEntities.WarehouseZoneGroup warehouseZoneGroup)
        {
            WarehouseZone warehouseZone = new WarehouseZone();

            warehouseZone.dataAreaId = dataAreaId;
            warehouseZone.ZoneId     = zoneId;
            if ((warehouseZoneGroup == null))
            {
                throw new global::System.ArgumentNullException("warehouseZoneGroup");
            }
            warehouseZone.WarehouseZoneGroup = warehouseZoneGroup;
            return(warehouseZone);
        }