Example #1
0
        public override DataSet Clone()
        {
            s_od_rekap_doprinosDataSet set = (s_od_rekap_doprinosDataSet)base.Clone();

            set.InitVars();
            return(set);
        }
Example #2
0
 public virtual int Fill(s_od_rekap_doprinosDataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, this.fillDataParameters[0].Value.ToString());
     return(0);
 }
Example #3
0
 public virtual int FillPage(s_od_rekap_doprinosDataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), startRow, maxRows);
     return(0);
 }
Example #4
0
 public virtual int Fill(DataSet dataSet)
 {
     this.s_od_rekap_doprinosSet = (s_od_rekap_doprinosDataSet)dataSet;
     if (this.s_od_rekap_doprinosSet != null)
     {
         return(this.Fill(this.s_od_rekap_doprinosSet));
     }
     this.s_od_rekap_doprinosSet = new s_od_rekap_doprinosDataSet();
     this.Fill(this.s_od_rekap_doprinosSet);
     dataSet.Merge(this.s_od_rekap_doprinosSet);
     return(0);
 }
Example #5
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.s_od_rekap_doprinosSet = (s_od_rekap_doprinosDataSet)dataSet;
     if (this.s_od_rekap_doprinosSet != null)
     {
         return(this.FillPage(this.s_od_rekap_doprinosSet, startRow, maxRows));
     }
     this.s_od_rekap_doprinosSet = new s_od_rekap_doprinosDataSet();
     this.FillPage(this.s_od_rekap_doprinosSet, startRow, maxRows);
     dataSet.Merge(this.s_od_rekap_doprinosSet);
     return(0);
 }
Example #6
0
        public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
        {
            s_od_rekap_doprinosDataSet set      = new s_od_rekap_doprinosDataSet();
            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);
        }
Example #7
0
 public virtual int Fill(s_od_rekap_doprinosDataSet dataSet, string idobracun)
 {
     this.Initialize();
     this.connDefault            = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.s_od_rekap_doprinosSet = dataSet;
     this.rows_od_rekap_doprinos = this.s_od_rekap_doprinosSet.s_od_rekap_doprinos.News_od_rekap_doprinosRow();
     this.SetFillParameters(idobracun);
     this.AV8idobrac = idobracun;
     try
     {
         this.executePrivate(0, -1);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Example #8
0
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType       type2    = new XmlSchemaComplexType();
                XmlSchemaSequence          sequence = new XmlSchemaSequence();
                s_od_rekap_doprinosDataSet set      = new s_od_rekap_doprinosDataSet();

                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);
            }