コード例 #1
0
 private void InitClass() {
     this.DataSetName = "ListaSQL";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/ListaSQL.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableProjeto = new ProjetoDataTable();
     base.Tables.Add(this.tableProjeto);
     this.tableArquivos = new ArquivosDataTable();
     base.Tables.Add(this.tableArquivos);
     this.relationFK_Configuracao_Arquivos = new System.Data.DataRelation("FK_Configuracao_Arquivos", new System.Data.DataColumn[] {
                 this.tableProjeto.IDColumn}, new System.Data.DataColumn[] {
                 this.tableArquivos.IDConfiguracaoColumn}, false);
     this.Relations.Add(this.relationFK_Configuracao_Arquivos);
 }
コード例 #2
0
 internal ProjetoRow(System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableProjeto = ((ProjetoDataTable)(this.Table));
 }
コード例 #3
0
 internal void InitVars(bool initTable) {
     this.tableProjeto = ((ProjetoDataTable)(base.Tables["Projeto"]));
     if ((initTable == true)) {
         if ((this.tableProjeto != null)) {
             this.tableProjeto.InitVars();
         }
     }
     this.tableArquivos = ((ArquivosDataTable)(base.Tables["Arquivos"]));
     if ((initTable == true)) {
         if ((this.tableArquivos != null)) {
             this.tableArquivos.InitVars();
         }
     }
     this.relationFK_Configuracao_Arquivos = this.Relations["FK_Configuracao_Arquivos"];
 }