Esempio n. 1
0
        public override DataSet Clone()
        {
            S_OD_OBUSTAVA_OBRACUNATADataSet set = (S_OD_OBUSTAVA_OBRACUNATADataSet)base.Clone();

            set.InitVars();
            return(set);
        }
Esempio n. 2
0
 public virtual int Fill(S_OD_OBUSTAVA_OBRACUNATADataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, this.fillDataParameters[0].Value.ToString());
     return(0);
 }
Esempio n. 3
0
 public virtual int FillPage(S_OD_OBUSTAVA_OBRACUNATADataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), startRow, maxRows);
     return(0);
 }
Esempio n. 4
0
 public virtual int Fill(DataSet dataSet)
 {
     this.S_OD_OBUSTAVA_OBRACUNATASet = (S_OD_OBUSTAVA_OBRACUNATADataSet)dataSet;
     if (this.S_OD_OBUSTAVA_OBRACUNATASet != null)
     {
         return(this.Fill(this.S_OD_OBUSTAVA_OBRACUNATASet));
     }
     this.S_OD_OBUSTAVA_OBRACUNATASet = new S_OD_OBUSTAVA_OBRACUNATADataSet();
     this.Fill(this.S_OD_OBUSTAVA_OBRACUNATASet);
     dataSet.Merge(this.S_OD_OBUSTAVA_OBRACUNATASet);
     return(0);
 }
Esempio n. 5
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.S_OD_OBUSTAVA_OBRACUNATASet = (S_OD_OBUSTAVA_OBRACUNATADataSet)dataSet;
     if (this.S_OD_OBUSTAVA_OBRACUNATASet != null)
     {
         return(this.FillPage(this.S_OD_OBUSTAVA_OBRACUNATASet, startRow, maxRows));
     }
     this.S_OD_OBUSTAVA_OBRACUNATASet = new S_OD_OBUSTAVA_OBRACUNATADataSet();
     this.FillPage(this.S_OD_OBUSTAVA_OBRACUNATASet, startRow, maxRows);
     dataSet.Merge(this.S_OD_OBUSTAVA_OBRACUNATASet);
     return(0);
 }
Esempio n. 6
0
        public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
        {
            S_OD_OBUSTAVA_OBRACUNATADataSet set   = new S_OD_OBUSTAVA_OBRACUNATADataSet();
            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);
        }
Esempio n. 7
0
 public virtual int Fill(S_OD_OBUSTAVA_OBRACUNATADataSet dataSet, string iDOBRACUN)
 {
     this.Initialize();
     this.connDefault = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.S_OD_OBUSTAVA_OBRACUNATASet = dataSet;
     this.rowS_OD_OBUSTAVA_OBRACUNATA = this.S_OD_OBUSTAVA_OBRACUNATASet.S_OD_OBUSTAVA_OBRACUNATA.NewS_OD_OBUSTAVA_OBRACUNATARow();
     this.SetFillParameters(iDOBRACUN);
     this.AV8IDOBRAC = iDOBRACUN;
     try
     {
         this.executePrivate(0, -1);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Esempio n. 8
0
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType            type2    = new XmlSchemaComplexType();
                XmlSchemaSequence               sequence = new XmlSchemaSequence();
                S_OD_OBUSTAVA_OBRACUNATADataSet set      = new S_OD_OBUSTAVA_OBRACUNATADataSet();

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