Ejemplo n.º 1
0
 public DsNpStat()
 {
     this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     base.BeginInit();
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
     base.EndInit();
 }
Ejemplo n.º 2
0
 public DDIZDATAKDataSet()
 {
     this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     this.BeginInit();
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.CollectionChanged += handler;
     base.Relations.CollectionChanged += handler;
     this.EndInit();
 }
Ejemplo n.º 3
0
 public StreetsHousesFlatsDS()
 {
     this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     base.BeginInit();
     this.InitClass();
     CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
     base.Tables.add_CollectionChanged(handler);
     base.Relations.add_CollectionChanged(handler);
     base.EndInit();
 }
Ejemplo n.º 4
0
        public S_OD_KONACNI_POREZ_PO_OPCINAMADataSet()
        {
            this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.BeginInit();
            this.InitClass();
            CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);

            base.Tables.CollectionChanged    += handler;
            base.Relations.CollectionChanged += handler;
            this.EndInit();
        }
Ejemplo n.º 5
0
        public S_OS_STANJE_LOKACIJA_SVI_BROJEVIDataSet()
        {
            this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.BeginInit();
            this.InitClass();
            CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);

            base.Tables.CollectionChanged    += handler;
            base.Relations.CollectionChanged += handler;
            this.EndInit();
        }
Ejemplo n.º 6
0
 protected DsSendList(SerializationInfo info, StreamingContext context)
     : base(info, context, false)
 {
     this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     if (base.IsBinarySerialized(info, context))
     {
         this.InitVars(false);
         CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
         this.Tables.CollectionChanged += handler;
         this.Relations.CollectionChanged += handler;
     }
     else
     {
         string s = (string) info.GetValue("XmlSchema", typeof(string));
         if (base.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)
         {
             DataSet dataSet = new DataSet();
             dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
             if (dataSet.Tables["V_List"] != null)
             {
                 base.Tables.Add(new V_ListDataTable(dataSet.Tables["V_List"]));
             }
             if (dataSet.Tables["V_NP"] != null)
             {
                 base.Tables.Add(new V_NPDataTable(dataSet.Tables["V_NP"]));
             }
             if (dataSet.Tables["V_SendList"] != null)
             {
                 base.Tables.Add(new V_SendListDataTable(dataSet.Tables["V_SendList"]));
             }
             base.DataSetName = dataSet.DataSetName;
             base.Prefix = dataSet.Prefix;
             base.Namespace = dataSet.Namespace;
             base.Locale = dataSet.Locale;
             base.CaseSensitive = dataSet.CaseSensitive;
             base.EnforceConstraints = dataSet.EnforceConstraints;
             base.Merge(dataSet, false, MissingSchemaAction.Add);
             this.InitVars();
         }
         else
         {
             base.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
         }
         base.GetSerializationData(info, context);
         CollectionChangeEventHandler handler2 = new CollectionChangeEventHandler(this.SchemaChanged);
         base.Tables.CollectionChanged += handler2;
         this.Relations.CollectionChanged += handler2;
     }
 }
Ejemplo n.º 7
0
 protected StreetsHousesFlatsDS(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
     : base(info, context, false)
 {
     this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     if (base.IsBinarySerialized(info, context))
     {
         this.InitVars(false);
         CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
         this.Tables.add_CollectionChanged(handler);
         this.Relations.add_CollectionChanged(handler);
     }
     else
     {
         string str = (string) ((string) info.GetValue("XmlSchema", typeof(string)));
         if (base.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)
         {
             System.Data.DataSet set = new System.Data.DataSet();
             set.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(str)));
             if (set.Tables.get_Item("Streets") != null)
             {
                 base.Tables.Add(new StreetsDataTable(set.Tables.get_Item("Streets")));
             }
             if (set.Tables.get_Item("Houses") != null)
             {
                 base.Tables.Add(new HousesDataTable(set.Tables.get_Item("Houses")));
             }
             if (set.Tables.get_Item("Flats") != null)
             {
                 base.Tables.Add(new FlatsDataTable(set.Tables.get_Item("Flats")));
             }
             base.set_DataSetName(set.get_DataSetName());
             base.set_Prefix(set.get_Prefix());
             base.set_Namespace(set.get_Namespace());
             base.set_Locale(set.Locale);
             base.set_CaseSensitive(set.get_CaseSensitive());
             base.set_EnforceConstraints(set.get_EnforceConstraints());
             base.Merge(set, false, System.Data.MissingSchemaAction.Add);
             this.InitVars();
         }
         else
         {
             base.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(str)));
         }
         base.GetSerializationData(info, context);
         CollectionChangeEventHandler handler2 = new CollectionChangeEventHandler(this.SchemaChanged);
         base.Tables.add_CollectionChanged(handler2);
         this.Relations.add_CollectionChanged(handler2);
     }
 }
Ejemplo n.º 8
0
 protected GRUPEKOEFDataSet(SerializationInfo info, StreamingContext context) : base(info, context, false)
 {
     this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     if (this.IsBinarySerialized(info, context))
     {
         this.InitVars(false);
         CollectionChangeEventHandler handler2 = new CollectionChangeEventHandler(this.SchemaChanged);
         this.Tables.CollectionChanged    += handler2;
         this.Relations.CollectionChanged += handler2;
     }
     else
     {
         string s = Conversions.ToString(info.GetValue("XmlSchema", typeof(string)));
         if (this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)
         {
             DataSet dataSet = new DataSet();
             dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
             if (dataSet.Tables["GRUPEKOEFLevel1"] != null)
             {
                 this.Tables.Add(new GRUPEKOEFLevel1DataTable(dataSet.Tables["GRUPEKOEFLevel1"]));
             }
             if (dataSet.Tables["GRUPEKOEF"] != null)
             {
                 this.Tables.Add(new GRUPEKOEFDataTable(dataSet.Tables["GRUPEKOEF"]));
             }
             this.DataSetName        = dataSet.DataSetName;
             this.Prefix             = dataSet.Prefix;
             this.Namespace          = dataSet.Namespace;
             this.Locale             = dataSet.Locale;
             this.CaseSensitive      = dataSet.CaseSensitive;
             this.EnforceConstraints = dataSet.EnforceConstraints;
             this.Merge(dataSet, false, MissingSchemaAction.Add);
             this.InitVars();
         }
         else
         {
             this.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
         }
         this.GetSerializationData(info, context);
         CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
         base.Tables.CollectionChanged    += handler;
         this.Relations.CollectionChanged += handler;
     }
 }