private void InitClass() { this.DataSetName = "DocumentsBetta2DataSet"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DocumentsBetta2DataSet.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tabledocs = new docsDataTable(); base.Tables.Add(this.tabledocs); this.tabletypedocsExt = new typedocsExtDataTable(); base.Tables.Add(this.tabletypedocsExt); this.tableourorgs = new ourorgsDataTable(); base.Tables.Add(this.tableourorgs); this.tabletypeorgs = new typeorgsDataTable(); base.Tables.Add(this.tabletypeorgs); this.tableobjects = new objectsDataTable(); base.Tables.Add(this.tableobjects); this.tabletypedocsInt = new typedocsIntDataTable(); base.Tables.Add(this.tabletypedocsInt); this.tablefizlico = new fizlicoDataTable(); base.Tables.Add(this.tablefizlico); this.tablejurlico = new jurlicoDataTable(); base.Tables.Add(this.tablejurlico); this.tablepartners = new partnersDataTable(); base.Tables.Add(this.tablepartners); this.tabledocsView = new docsViewDataTable(); base.Tables.Add(this.tabledocsView); this.relationFK_docs_typedocs = new global::System.Data.DataRelation("FK_docs_typedocs", new global::System.Data.DataColumn[] { this.tabletypedocsExt.idColumn}, new global::System.Data.DataColumn[] { this.tabledocs.typedocs_idColumn}, false); this.Relations.Add(this.relationFK_docs_typedocs); this.relationFK_ourorgs_typeorgs = new global::System.Data.DataRelation("FK_ourorgs_typeorgs", new global::System.Data.DataColumn[] { this.tabletypeorgs.idColumn}, new global::System.Data.DataColumn[] { this.tableourorgs.typeorgs_idColumn}, false); this.Relations.Add(this.relationFK_ourorgs_typeorgs); this.relationFK_docs_typedocs1 = new global::System.Data.DataRelation("FK_docs_typedocs1", new global::System.Data.DataColumn[] { this.tabletypedocsInt.idColumn}, new global::System.Data.DataColumn[] { this.tabledocs.typedocs_idColumn}, false); this.Relations.Add(this.relationFK_docs_typedocs1); this.relationFK_jurlico_typeorgs = new global::System.Data.DataRelation("FK_jurlico_typeorgs", new global::System.Data.DataColumn[] { this.tabletypeorgs.idColumn}, new global::System.Data.DataColumn[] { this.tablejurlico.typeorgs_idColumn}, false); this.Relations.Add(this.relationFK_jurlico_typeorgs); this.relationFK_partners_docs = new global::System.Data.DataRelation("FK_partners_docs", new global::System.Data.DataColumn[] { this.tabledocs.idColumn}, new global::System.Data.DataColumn[] { this.tablepartners.docs_idColumn}, false); this.Relations.Add(this.relationFK_partners_docs); this.relationFK_docs_ourorgs = new global::System.Data.DataRelation("FK_docs_ourorgs", new global::System.Data.DataColumn[] { this.tableourorgs.idColumn}, new global::System.Data.DataColumn[] { this.tabledocs.ourorgs_idColumn}, false); this.Relations.Add(this.relationFK_docs_ourorgs); }
internal partnersRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tablepartners = ((partnersDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tabledocs = ((docsDataTable)(base.Tables["docs"])); if ((initTable == true)) { if ((this.tabledocs != null)) { this.tabledocs.InitVars(); } } this.tabletypedocsExt = ((typedocsExtDataTable)(base.Tables["typedocsExt"])); if ((initTable == true)) { if ((this.tabletypedocsExt != null)) { this.tabletypedocsExt.InitVars(); } } this.tableourorgs = ((ourorgsDataTable)(base.Tables["ourorgs"])); if ((initTable == true)) { if ((this.tableourorgs != null)) { this.tableourorgs.InitVars(); } } this.tabletypeorgs = ((typeorgsDataTable)(base.Tables["typeorgs"])); if ((initTable == true)) { if ((this.tabletypeorgs != null)) { this.tabletypeorgs.InitVars(); } } this.tableobjects = ((objectsDataTable)(base.Tables["objects"])); if ((initTable == true)) { if ((this.tableobjects != null)) { this.tableobjects.InitVars(); } } this.tabletypedocsInt = ((typedocsIntDataTable)(base.Tables["typedocsInt"])); if ((initTable == true)) { if ((this.tabletypedocsInt != null)) { this.tabletypedocsInt.InitVars(); } } this.tablefizlico = ((fizlicoDataTable)(base.Tables["fizlico"])); if ((initTable == true)) { if ((this.tablefizlico != null)) { this.tablefizlico.InitVars(); } } this.tablejurlico = ((jurlicoDataTable)(base.Tables["jurlico"])); if ((initTable == true)) { if ((this.tablejurlico != null)) { this.tablejurlico.InitVars(); } } this.tablepartners = ((partnersDataTable)(base.Tables["partners"])); if ((initTable == true)) { if ((this.tablepartners != null)) { this.tablepartners.InitVars(); } } this.tabledocsView = ((docsViewDataTable)(base.Tables["docsView"])); if ((initTable == true)) { if ((this.tabledocsView != null)) { this.tabledocsView.InitVars(); } } this.relationFK_docs_typedocs = this.Relations["FK_docs_typedocs"]; this.relationFK_ourorgs_typeorgs = this.Relations["FK_ourorgs_typeorgs"]; this.relationFK_docs_typedocs1 = this.Relations["FK_docs_typedocs1"]; this.relationFK_jurlico_typeorgs = this.Relations["FK_jurlico_typeorgs"]; this.relationFK_partners_docs = this.Relations["FK_partners_docs"]; this.relationFK_docs_ourorgs = this.Relations["FK_docs_ourorgs"]; }