Ejemplo n.º 1
0
 partial void OnTaxRegionChanging(global::Microsoft.Dynamics.DataEntities.TaxRegion value);
Ejemplo n.º 2
0
        public static WorkerTaxRegion CreateWorkerTaxRegion(string personnelNumber, string locationId, global::Microsoft.Dynamics.DataEntities.Worker worker, global::Microsoft.Dynamics.DataEntities.TaxRegion taxRegion)
        {
            WorkerTaxRegion workerTaxRegion = new WorkerTaxRegion();

            workerTaxRegion.PersonnelNumber = personnelNumber;
            workerTaxRegion.LocationId      = locationId;
            if ((worker == null))
            {
                throw new global::System.ArgumentNullException("worker");
            }
            workerTaxRegion.Worker = worker;
            if ((taxRegion == null))
            {
                throw new global::System.ArgumentNullException("taxRegion");
            }
            workerTaxRegion.TaxRegion = taxRegion;
            return(workerTaxRegion);
        }