예제 #1
0
 public async Task Savexcuda_Valuation(xcuda_Valuation i)
 {
     if (i == null)
     {
         return;
     }
     using (var ctx = new xcuda_ValuationService())
     {
         await ctx.Updatexcuda_Valuation(i).ConfigureAwait(false);
     }
 }
예제 #2
0
        public void SetupProperties()
        {
            if (xcuda_Identification == null)
            {
                xcuda_Identification = new xcuda_Identification();
            }

            if (xcuda_Identification.xcuda_Type == null)
            {
                xcuda_Identification.xcuda_Type = new xcuda_Type();
            }

            if (xcuda_ASYCUDA_ExtendedProperties == null)
            {
                xcuda_ASYCUDA_ExtendedProperties = new xcuda_ASYCUDA_ExtendedProperties();
            }

            if (xcuda_Declarant == null)
            {
                xcuda_Declarant = new xcuda_Declarant();
            }

            if (xcuda_General_information == null)
            {
                xcuda_General_information = new xcuda_General_information();
            }

            if (xcuda_General_information.xcuda_Country == null)
            {
                xcuda_General_information.xcuda_Country = new xcuda_Country();
            }

            if (xcuda_Identification.xcuda_Office_segment == null)
            {
                xcuda_Identification.xcuda_Office_segment = new xcuda_Office_segment();
            }

            if (xcuda_Identification.xcuda_Registration == null)
            {
                xcuda_Identification.xcuda_Registration = new xcuda_Registration();
            }

            if (xcuda_Identification.xcuda_Type == null)
            {
                xcuda_Identification.xcuda_Type = new xcuda_Type();
            }

            if (xcuda_Valuation == null)
            {
                xcuda_Valuation = new xcuda_Valuation();
            }



            if (xcuda_Valuation.xcuda_Gs_Invoice == null)
            {
                xcuda_Valuation.Calculation_working_mode = "1";
                xcuda_Valuation.xcuda_Gs_Invoice         = new xcuda_Gs_Invoice();
            }

            if (xcuda_Property == null)
            {
                xcuda_Property = new xcuda_Property();
            }
        }