コード例 #1
0
 private void InitClass()
 {
     this.DataSetName          = "spyDS";
     this.Prefix               = "";
     this.Namespace            = "http://www.tempuri.org/spyDS.xsd";
     this.Locale               = new System.Globalization.CultureInfo("en-US");
     this.CaseSensitive        = false;
     this.EnforceConstraints   = true;
     this.tableAgent_Specialty = new Agent_SpecialtyDataTable();
     this.Tables.Add(this.tableAgent_Specialty);
     this.tableAgents = new AgentsDataTable();
     this.Tables.Add(this.tableAgents);
     this.tableAssignments = new AssignmentsDataTable();
     this.Tables.Add(this.tableAssignments);
     this.tableSpecialties = new SpecialtiesDataTable();
     this.Tables.Add(this.tableSpecialties);
 }
コード例 #2
0
ファイル: spies.cs プロジェクト: twopiharris/cSharpExamples
 internal void InitVars()
 {
     this.tableAgent_Specialty = ((Agent_SpecialtyDataTable)(this.Tables["Agent_Specialty"]));
     if ((this.tableAgent_Specialty != null))
     {
         this.tableAgent_Specialty.InitVars();
     }
     this.tableAgents = ((AgentsDataTable)(this.Tables["Agents"]));
     if ((this.tableAgents != null))
     {
         this.tableAgents.InitVars();
     }
     this.tableAssignments = ((AssignmentsDataTable)(this.Tables["Assignments"]));
     if ((this.tableAssignments != null))
     {
         this.tableAssignments.InitVars();
     }
     this.tableSpecialties = ((SpecialtiesDataTable)(this.Tables["Specialties"]));
     if ((this.tableSpecialties != null))
     {
         this.tableSpecialties.InitVars();
     }
 }
コード例 #3
0
ファイル: spies.cs プロジェクト: twopiharris/cSharpExamples
 internal AgentsRow(DataRowBuilder rb) :
     base(rb)
 {
     this.tableAgents = ((AgentsDataTable)(this.Table));
 }