Exemplo n.º 1
0
        public override DataSet Clone()
        {
            S_FIN_PROMET_PO_PARTNERIMADataSet set = (S_FIN_PROMET_PO_PARTNERIMADataSet)base.Clone();

            set.InitVars();
            return(set);
        }
Exemplo n.º 2
0
 public virtual int FillPage(S_FIN_PROMET_PO_PARTNERIMADataSet dataSet, int oDPARTNERA, int dOPARTNERA, int mT, int oRG, int iDAKTIVNOST, DateTime rAZDOBLJEOD, DateTime rAZDOBLJEDO, string dODATNIUVJET, string pOCETNIKONTO, string zAVRSNIKONTO, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_FIN_PROMET_PO_PARTNERIMASet = dataSet;
     this.rowS_FIN_PROMET_PO_PARTNERIMA = this.S_FIN_PROMET_PO_PARTNERIMASet.S_FIN_PROMET_PO_PARTNERIMA.NewS_FIN_PROMET_PO_PARTNERIMARow();
     this.SetFillParameters(oDPARTNERA, dOPARTNERA, mT, oRG, iDAKTIVNOST, rAZDOBLJEOD, rAZDOBLJEDO, dODATNIUVJET, pOCETNIKONTO, zAVRSNIKONTO);
     this.AV8ODPARTN = oDPARTNERA;
     this.AV9DOPARTN = dOPARTNERA;
     this.AV10MT     = mT;
     this.AV11ORG    = oRG;
     this.AV12IDAKTI = iDAKTIVNOST;
     this.AV13RAZDOB = DateTimeUtil.ResetTime(rAZDOBLJEOD);
     this.AV14RAZDOB = DateTimeUtil.ResetTime(rAZDOBLJEDO);
     this.AV15DODATN = dODATNIUVJET;
     this.AV16POCETN = pOCETNIKONTO;
     this.AV17ZAVRSN = zAVRSNIKONTO;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Exemplo n.º 3
0
 public virtual int Fill(S_FIN_PROMET_PO_PARTNERIMADataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, int.Parse(this.fillDataParameters[0].Value.ToString()), int.Parse(this.fillDataParameters[1].Value.ToString()), int.Parse(this.fillDataParameters[2].Value.ToString()), int.Parse(this.fillDataParameters[3].Value.ToString()), int.Parse(this.fillDataParameters[4].Value.ToString()), DateTime.Parse(this.fillDataParameters[5].Value.ToString()), DateTime.Parse(this.fillDataParameters[6].Value.ToString()), this.fillDataParameters[7].Value.ToString(), this.fillDataParameters[8].Value.ToString(), this.fillDataParameters[9].Value.ToString());
     return(0);
 }
Exemplo n.º 4
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.S_FIN_PROMET_PO_PARTNERIMASet = (S_FIN_PROMET_PO_PARTNERIMADataSet)dataSet;
     if (this.S_FIN_PROMET_PO_PARTNERIMASet != null)
     {
         return(this.FillPage(this.S_FIN_PROMET_PO_PARTNERIMASet, startRow, maxRows));
     }
     this.S_FIN_PROMET_PO_PARTNERIMASet = new S_FIN_PROMET_PO_PARTNERIMADataSet();
     this.FillPage(this.S_FIN_PROMET_PO_PARTNERIMASet, startRow, maxRows);
     dataSet.Merge(this.S_FIN_PROMET_PO_PARTNERIMASet);
     return(0);
 }
Exemplo n.º 5
0
 public virtual int Fill(DataSet dataSet)
 {
     this.S_FIN_PROMET_PO_PARTNERIMASet = (S_FIN_PROMET_PO_PARTNERIMADataSet)dataSet;
     if (this.S_FIN_PROMET_PO_PARTNERIMASet != null)
     {
         return(this.Fill(this.S_FIN_PROMET_PO_PARTNERIMASet));
     }
     this.S_FIN_PROMET_PO_PARTNERIMASet = new S_FIN_PROMET_PO_PARTNERIMADataSet();
     this.Fill(this.S_FIN_PROMET_PO_PARTNERIMASet);
     dataSet.Merge(this.S_FIN_PROMET_PO_PARTNERIMASet);
     return(0);
 }
Exemplo n.º 6
0
        public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
        {
            S_FIN_PROMET_PO_PARTNERIMADataSet set = new S_FIN_PROMET_PO_PARTNERIMADataSet();
            XmlSchemaComplexType type2            = new XmlSchemaComplexType();
            XmlSchemaSequence    sequence         = new XmlSchemaSequence();

            xs.Add(set.GetSchemaSerializable());
            XmlSchemaAny item = new XmlSchemaAny {
                Namespace = set.Namespace
            };

            sequence.Items.Add(item);
            type2.Particle = sequence;
            return(type2);
        }
Exemplo n.º 7
0
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type2            = new XmlSchemaComplexType();
                XmlSchemaSequence    sequence         = new XmlSchemaSequence();
                S_FIN_PROMET_PO_PARTNERIMADataSet set = new S_FIN_PROMET_PO_PARTNERIMADataSet();

                xs.Add(set.GetSchemaSerializable());
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema"
                };
                decimal num = new decimal(0);

                item.MinOccurs       = num;
                item.MaxOccurs       = 79228162514264337593543950335M;
                item.ProcessContents = XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"
                };

                num                  = new decimal(1);
                any2.MinOccurs       = num;
                any2.ProcessContents = XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name       = "namespace",
                    FixedValue = set.Namespace
                };

                type2.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name       = "tableTypeName",
                    FixedValue = "InvoiceDataTable"
                };

                type2.Attributes.Add(attribute2);
                type2.Particle = sequence;
                return(type2);
            }