public static RetailTillLayoutReportZone CreateRetailTillLayoutReportZone(string layoutId, int deviceType, string zoneId, string reportID, global::Microsoft.Dynamics.DataEntities.TillLayoutSize tillLayoutSize, global::Microsoft.Dynamics.DataEntities.RetailTillLayoutZone retailTillLayoutZone, global::Microsoft.Dynamics.DataEntities.RetailTillLayout retailTillLayout) { RetailTillLayoutReportZone retailTillLayoutReportZone = new RetailTillLayoutReportZone(); retailTillLayoutReportZone.LayoutId = layoutId; retailTillLayoutReportZone.DeviceType = deviceType; retailTillLayoutReportZone.ZoneId = zoneId; retailTillLayoutReportZone.ReportID = reportID; if ((tillLayoutSize == null)) { throw new global::System.ArgumentNullException("tillLayoutSize"); } retailTillLayoutReportZone.TillLayoutSize = tillLayoutSize; if ((retailTillLayoutZone == null)) { throw new global::System.ArgumentNullException("retailTillLayoutZone"); } retailTillLayoutReportZone.RetailTillLayoutZone = retailTillLayoutZone; if ((retailTillLayout == null)) { throw new global::System.ArgumentNullException("retailTillLayout"); } retailTillLayoutReportZone.RetailTillLayout = retailTillLayout; return(retailTillLayoutReportZone); }
partial void OnRetailTillLayoutZoneChanging(global::Microsoft.Dynamics.DataEntities.RetailTillLayoutZone value);