- Timestamp:
- May 21, 2010, 9:03:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/dsRebookAppts.Designer.cs
r614 r772 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:2.0.50727.3 0534 // Runtime Version:2.0.50727.3603 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 30 30 private BSDXResourceDataTable tableBSDXResource; 31 31 32 private global::System.Data.DataRelation relation BSDXResourcePatientAppts;32 private global::System.Data.DataRelation relationFK_BSDXResource_PatientAppts; 33 33 34 34 private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; … … 207 207 } 208 208 } 209 this.relation BSDXResourcePatientAppts = this.Relations["BSDXResourcePatientAppts"];209 this.relationFK_BSDXResource_PatientAppts = this.Relations["FK_BSDXResource_PatientAppts"]; 210 210 } 211 211 … … 222 222 base.Tables.Add(this.tableBSDXResource); 223 223 global::System.Data.ForeignKeyConstraint fkc; 224 fkc = new global::System.Data.ForeignKeyConstraint(" BSDXResourcePatientAppts", new global::System.Data.DataColumn[] {224 fkc = new global::System.Data.ForeignKeyConstraint("FK_BSDXResource_PatientAppts", new global::System.Data.DataColumn[] { 225 225 this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] { 226 226 this.tablePatientAppts.RESOURCEIDColumn}); … … 229 229 fkc.DeleteRule = global::System.Data.Rule.Cascade; 230 230 fkc.UpdateRule = global::System.Data.Rule.Cascade; 231 this.relation BSDXResourcePatientAppts = new global::System.Data.DataRelation("BSDXResourcePatientAppts", new global::System.Data.DataColumn[] {231 this.relationFK_BSDXResource_PatientAppts = new global::System.Data.DataRelation("FK_BSDXResource_PatientAppts", new global::System.Data.DataColumn[] { 232 232 this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] { 233 233 this.tablePatientAppts.RESOURCEIDColumn}, false); 234 this.Relations.Add(this.relation BSDXResourcePatientAppts);234 this.Relations.Add(this.relationFK_BSDXResource_PatientAppts); 235 235 } 236 236 … … 530 530 string Clinic, 531 531 string TypeStatus, 532 BSDXResourceRow parentBSDXResourceRowBy BSDXResourcePatientAppts,532 BSDXResourceRow parentBSDXResourceRowByFK_BSDXResource_PatientAppts, 533 533 string APPT_MADE_BY, 534 534 System.DateTime DATE_APPT_MADE, … … 559 559 HOMEPHONE, 560 560 OldApptDate}; 561 if ((parentBSDXResourceRowBy BSDXResourcePatientAppts != null)) {562 columnValuesArray[7] = parentBSDXResourceRowBy BSDXResourcePatientAppts[0];561 if ((parentBSDXResourceRowByFK_BSDXResource_PatientAppts != null)) { 562 columnValuesArray[7] = parentBSDXResourceRowByFK_BSDXResource_PatientAppts[0]; 563 563 } 564 564 rowPatientApptsRow.ItemArray = columnValuesArray; … … 616 616 this.columnTypeStatus = new global::System.Data.DataColumn("TypeStatus", typeof(string), null, global::System.Data.MappingType.Element); 617 617 base.Columns.Add(this.columnTypeStatus); 618 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof( uint), null, global::System.Data.MappingType.Element);618 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element); 619 619 base.Columns.Add(this.columnRESOURCEID); 620 620 this.columnAPPT_MADE_BY = new global::System.Data.DataColumn("APPT_MADE_BY", typeof(string), null, global::System.Data.MappingType.Element); … … 865 865 866 866 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 867 public BSDXResourceRow AddBSDXResourceRow( uint RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT, string NO_SHOW_LETTER, string CLINIC_CANCELLATION_LETTER) {867 public BSDXResourceRow AddBSDXResourceRow(int RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT, string NO_SHOW_LETTER, string CLINIC_CANCELLATION_LETTER) { 868 868 BSDXResourceRow rowBSDXResourceRow = ((BSDXResourceRow)(this.NewRow())); 869 869 object[] columnValuesArray = new object[] { … … 901 901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 902 902 private void InitClass() { 903 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof( uint), null, global::System.Data.MappingType.Element);903 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element); 904 904 base.Columns.Add(this.columnRESOURCEID); 905 905 this.columnRESOURCE_NAME = new global::System.Data.DataColumn("RESOURCE_NAME", typeof(string), null, global::System.Data.MappingType.Element); … … 1152 1152 1153 1153 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1154 public uint RESOURCEID {1155 get { 1156 try { 1157 return (( uint)(this[this.tablePatientAppts.RESOURCEIDColumn]));1154 public int RESOURCEID { 1155 get { 1156 try { 1157 return ((int)(this[this.tablePatientAppts.RESOURCEIDColumn])); 1158 1158 } 1159 1159 catch (global::System.InvalidCastException e) { … … 1304 1304 public BSDXResourceRow BSDXResourceRow { 1305 1305 get { 1306 return ((BSDXResourceRow)(this.GetParentRow(this.Table.ParentRelations[" BSDXResourcePatientAppts"])));1307 } 1308 set { 1309 this.SetParentRow(value, this.Table.ParentRelations[" BSDXResourcePatientAppts"]);1306 return ((BSDXResourceRow)(this.GetParentRow(this.Table.ParentRelations["FK_BSDXResource_PatientAppts"]))); 1307 } 1308 set { 1309 this.SetParentRow(value, this.Table.ParentRelations["FK_BSDXResource_PatientAppts"]); 1310 1310 } 1311 1311 } … … 1497 1497 1498 1498 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1499 public uint RESOURCEID {1500 get { 1501 return (( uint)(this[this.tableBSDXResource.RESOURCEIDColumn]));1499 public int RESOURCEID { 1500 get { 1501 return ((int)(this[this.tableBSDXResource.RESOURCEIDColumn])); 1502 1502 } 1503 1503 set { … … 1609 1609 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1610 1610 public PatientApptsRow[] GetPatientApptsRows() { 1611 if ((this.Table.ChildRelations[" BSDXResourcePatientAppts"] == null)) {1611 if ((this.Table.ChildRelations["FK_BSDXResource_PatientAppts"] == null)) { 1612 1612 return new PatientApptsRow[0]; 1613 1613 } 1614 1614 else { 1615 return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations[" BSDXResourcePatientAppts"])));1615 return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_BSDXResource_PatientAppts"]))); 1616 1616 } 1617 1617 }
Note:
See TracChangeset
for help on using the changeset viewer.