- Timestamp:
- May 21, 2010, 9:03:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/dsPatientApptDisplay2.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 … … 521 521 string Clinic, 522 522 string TypeStatus, 523 BSDXResourceRow parentBSDXResourceRowBy BSDXResourcePatientAppts,523 BSDXResourceRow parentBSDXResourceRowByFK_BSDXResource_PatientAppts, 524 524 string APPT_MADE_BY, 525 525 System.DateTime DATE_APPT_MADE, … … 548 548 ZIP, 549 549 HOMEPHONE}; 550 if ((parentBSDXResourceRowBy BSDXResourcePatientAppts != null)) {551 columnValuesArray[7] = parentBSDXResourceRowBy BSDXResourcePatientAppts[0];550 if ((parentBSDXResourceRowByFK_BSDXResource_PatientAppts != null)) { 551 columnValuesArray[7] = parentBSDXResourceRowByFK_BSDXResource_PatientAppts[0]; 552 552 } 553 553 rowPatientApptsRow.ItemArray = columnValuesArray; … … 604 604 this.columnTypeStatus = new global::System.Data.DataColumn("TypeStatus", typeof(string), null, global::System.Data.MappingType.Element); 605 605 base.Columns.Add(this.columnTypeStatus); 606 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof( uint), null, global::System.Data.MappingType.Element);606 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element); 607 607 base.Columns.Add(this.columnRESOURCEID); 608 608 this.columnAPPT_MADE_BY = new global::System.Data.DataColumn("APPT_MADE_BY", typeof(string), null, global::System.Data.MappingType.Element); … … 833 833 834 834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 835 public BSDXResourceRow AddBSDXResourceRow( uint RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT) {835 public BSDXResourceRow AddBSDXResourceRow(int RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT) { 836 836 BSDXResourceRow rowBSDXResourceRow = ((BSDXResourceRow)(this.NewRow())); 837 837 object[] columnValuesArray = new object[] { … … 865 865 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 866 866 private void InitClass() { 867 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof( uint), null, global::System.Data.MappingType.Element);867 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element); 868 868 base.Columns.Add(this.columnRESOURCEID); 869 869 this.columnRESOURCE_NAME = new global::System.Data.DataColumn("RESOURCE_NAME", typeof(string), null, global::System.Data.MappingType.Element); … … 1112 1112 1113 1113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1114 public uint RESOURCEID {1115 get { 1116 try { 1117 return (( uint)(this[this.tablePatientAppts.RESOURCEIDColumn]));1114 public int RESOURCEID { 1115 get { 1116 try { 1117 return ((int)(this[this.tablePatientAppts.RESOURCEIDColumn])); 1118 1118 } 1119 1119 catch (global::System.InvalidCastException e) { … … 1249 1249 public BSDXResourceRow BSDXResourceRow { 1250 1250 get { 1251 return ((BSDXResourceRow)(this.GetParentRow(this.Table.ParentRelations[" BSDXResourcePatientAppts"])));1252 } 1253 set { 1254 this.SetParentRow(value, this.Table.ParentRelations[" BSDXResourcePatientAppts"]);1251 return ((BSDXResourceRow)(this.GetParentRow(this.Table.ParentRelations["FK_BSDXResource_PatientAppts"]))); 1252 } 1253 set { 1254 this.SetParentRow(value, this.Table.ParentRelations["FK_BSDXResource_PatientAppts"]); 1255 1255 } 1256 1256 } … … 1432 1432 1433 1433 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1434 public uint RESOURCEID {1435 get { 1436 return (( uint)(this[this.tableBSDXResource.RESOURCEIDColumn]));1434 public int RESOURCEID { 1435 get { 1436 return ((int)(this[this.tableBSDXResource.RESOURCEIDColumn])); 1437 1437 } 1438 1438 set { … … 1493 1493 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1494 1494 public PatientApptsRow[] GetPatientApptsRows() { 1495 if ((this.Table.ChildRelations[" BSDXResourcePatientAppts"] == null)) {1495 if ((this.Table.ChildRelations["FK_BSDXResource_PatientAppts"] == null)) { 1496 1496 return new PatientApptsRow[0]; 1497 1497 } 1498 1498 else { 1499 return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations[" BSDXResourcePatientAppts"])));1499 return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_BSDXResource_PatientAppts"]))); 1500 1500 } 1501 1501 }
Note:
See TracChangeset
for help on using the changeset viewer.