source: Scheduling/branches/GUI1.2/dsPatientApptDisplay2.Designer.cs@ 1165

Last change on this file since 1165 was 772, checked in by Sam Habiel, 15 years ago

Removal of Crystal Reports
Partial Rework of Clinic Patient List report
Other reports that used Crystal don't work yet.
Fixes for Strongly typed DataTables (change the RESOURCEID from uint to int) to support table merge from untyped table.
Support for command line arguments: /s= for server /p= for port /a= for access code /v= for verify code
Only the following combinations work: none; /s and /p; /s, /p, /a, /v

File size: 75.2 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4// Runtime Version:2.0.50727.3603
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11#pragma warning disable 1591
12
13namespace IndianHealthService.ClinicalScheduling {
14
15
16 /// <summary>
17 ///Represents a strongly typed in-memory cache of data.
18 ///</summary>
19 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
20 [global::System.Serializable()]
21 [global::System.ComponentModel.DesignerCategoryAttribute("code")]
22 [global::System.ComponentModel.ToolboxItem(true)]
23 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
24 [global::System.Xml.Serialization.XmlRootAttribute("dsPatientApptDisplay2")]
25 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
26 public partial class dsPatientApptDisplay2 : global::System.Data.DataSet {
27
28 private PatientApptsDataTable tablePatientAppts;
29
30 private BSDXResourceDataTable tableBSDXResource;
31
32 private global::System.Data.DataRelation relationFK_BSDXResource_PatientAppts;
33
34 private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
35
36 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
37 public dsPatientApptDisplay2() {
38 this.BeginInit();
39 this.InitClass();
40 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
41 base.Tables.CollectionChanged += schemaChangedHandler;
42 base.Relations.CollectionChanged += schemaChangedHandler;
43 this.EndInit();
44 }
45
46 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
47 protected dsPatientApptDisplay2(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
48 base(info, context, false) {
49 if ((this.IsBinarySerialized(info, context) == true)) {
50 this.InitVars(false);
51 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
52 this.Tables.CollectionChanged += schemaChangedHandler1;
53 this.Relations.CollectionChanged += schemaChangedHandler1;
54 return;
55 }
56 string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
57 if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
58 global::System.Data.DataSet ds = new global::System.Data.DataSet();
59 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
60 if ((ds.Tables["PatientAppts"] != null)) {
61 base.Tables.Add(new PatientApptsDataTable(ds.Tables["PatientAppts"]));
62 }
63 if ((ds.Tables["BSDXResource"] != null)) {
64 base.Tables.Add(new BSDXResourceDataTable(ds.Tables["BSDXResource"]));
65 }
66 this.DataSetName = ds.DataSetName;
67 this.Prefix = ds.Prefix;
68 this.Namespace = ds.Namespace;
69 this.Locale = ds.Locale;
70 this.CaseSensitive = ds.CaseSensitive;
71 this.EnforceConstraints = ds.EnforceConstraints;
72 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
73 this.InitVars();
74 }
75 else {
76 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
77 }
78 this.GetSerializationData(info, context);
79 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
80 base.Tables.CollectionChanged += schemaChangedHandler;
81 this.Relations.CollectionChanged += schemaChangedHandler;
82 }
83
84 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
85 [global::System.ComponentModel.Browsable(false)]
86 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
87 public PatientApptsDataTable PatientAppts {
88 get {
89 return this.tablePatientAppts;
90 }
91 }
92
93 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
94 [global::System.ComponentModel.Browsable(false)]
95 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
96 public BSDXResourceDataTable BSDXResource {
97 get {
98 return this.tableBSDXResource;
99 }
100 }
101
102 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
103 [global::System.ComponentModel.BrowsableAttribute(true)]
104 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
105 public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
106 get {
107 return this._schemaSerializationMode;
108 }
109 set {
110 this._schemaSerializationMode = value;
111 }
112 }
113
114 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
115 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
116 public new global::System.Data.DataTableCollection Tables {
117 get {
118 return base.Tables;
119 }
120 }
121
122 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
123 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
124 public new global::System.Data.DataRelationCollection Relations {
125 get {
126 return base.Relations;
127 }
128 }
129
130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
131 protected override void InitializeDerivedDataSet() {
132 this.BeginInit();
133 this.InitClass();
134 this.EndInit();
135 }
136
137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
138 public override global::System.Data.DataSet Clone() {
139 dsPatientApptDisplay2 cln = ((dsPatientApptDisplay2)(base.Clone()));
140 cln.InitVars();
141 cln.SchemaSerializationMode = this.SchemaSerializationMode;
142 return cln;
143 }
144
145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
146 protected override bool ShouldSerializeTables() {
147 return false;
148 }
149
150 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
151 protected override bool ShouldSerializeRelations() {
152 return false;
153 }
154
155 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
156 protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
157 if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
158 this.Reset();
159 global::System.Data.DataSet ds = new global::System.Data.DataSet();
160 ds.ReadXml(reader);
161 if ((ds.Tables["PatientAppts"] != null)) {
162 base.Tables.Add(new PatientApptsDataTable(ds.Tables["PatientAppts"]));
163 }
164 if ((ds.Tables["BSDXResource"] != null)) {
165 base.Tables.Add(new BSDXResourceDataTable(ds.Tables["BSDXResource"]));
166 }
167 this.DataSetName = ds.DataSetName;
168 this.Prefix = ds.Prefix;
169 this.Namespace = ds.Namespace;
170 this.Locale = ds.Locale;
171 this.CaseSensitive = ds.CaseSensitive;
172 this.EnforceConstraints = ds.EnforceConstraints;
173 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
174 this.InitVars();
175 }
176 else {
177 this.ReadXml(reader);
178 this.InitVars();
179 }
180 }
181
182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
183 protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
184 global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
185 this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
186 stream.Position = 0;
187 return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
188 }
189
190 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
191 internal void InitVars() {
192 this.InitVars(true);
193 }
194
195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
196 internal void InitVars(bool initTable) {
197 this.tablePatientAppts = ((PatientApptsDataTable)(base.Tables["PatientAppts"]));
198 if ((initTable == true)) {
199 if ((this.tablePatientAppts != null)) {
200 this.tablePatientAppts.InitVars();
201 }
202 }
203 this.tableBSDXResource = ((BSDXResourceDataTable)(base.Tables["BSDXResource"]));
204 if ((initTable == true)) {
205 if ((this.tableBSDXResource != null)) {
206 this.tableBSDXResource.InitVars();
207 }
208 }
209 this.relationFK_BSDXResource_PatientAppts = this.Relations["FK_BSDXResource_PatientAppts"];
210 }
211
212 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
213 private void InitClass() {
214 this.DataSetName = "dsPatientApptDisplay2";
215 this.Prefix = "";
216 this.Namespace = "http://tempuri.org/dsPatientApptDisplay2.xsd";
217 this.EnforceConstraints = true;
218 this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
219 this.tablePatientAppts = new PatientApptsDataTable();
220 base.Tables.Add(this.tablePatientAppts);
221 this.tableBSDXResource = new BSDXResourceDataTable();
222 base.Tables.Add(this.tableBSDXResource);
223 global::System.Data.ForeignKeyConstraint fkc;
224 fkc = new global::System.Data.ForeignKeyConstraint("FK_BSDXResource_PatientAppts", new global::System.Data.DataColumn[] {
225 this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] {
226 this.tablePatientAppts.RESOURCEIDColumn});
227 this.tablePatientAppts.Constraints.Add(fkc);
228 fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
229 fkc.DeleteRule = global::System.Data.Rule.Cascade;
230 fkc.UpdateRule = global::System.Data.Rule.Cascade;
231 this.relationFK_BSDXResource_PatientAppts = new global::System.Data.DataRelation("FK_BSDXResource_PatientAppts", new global::System.Data.DataColumn[] {
232 this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] {
233 this.tablePatientAppts.RESOURCEIDColumn}, false);
234 this.Relations.Add(this.relationFK_BSDXResource_PatientAppts);
235 }
236
237 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
238 private bool ShouldSerializePatientAppts() {
239 return false;
240 }
241
242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
243 private bool ShouldSerializeBSDXResource() {
244 return false;
245 }
246
247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
248 private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
249 if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
250 this.InitVars();
251 }
252 }
253
254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
255 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
256 dsPatientApptDisplay2 ds = new dsPatientApptDisplay2();
257 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
258 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
259 global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
260 any.Namespace = ds.Namespace;
261 sequence.Items.Add(any);
262 type.Particle = sequence;
263 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
264 if (xs.Contains(dsSchema.TargetNamespace)) {
265 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
266 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
267 try {
268 global::System.Xml.Schema.XmlSchema schema = null;
269 dsSchema.Write(s1);
270 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
271 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
272 s2.SetLength(0);
273 schema.Write(s2);
274 if ((s1.Length == s2.Length)) {
275 s1.Position = 0;
276 s2.Position = 0;
277 for (; ((s1.Position != s1.Length)
278 && (s1.ReadByte() == s2.ReadByte())); ) {
279 ;
280 }
281 if ((s1.Position == s1.Length)) {
282 return type;
283 }
284 }
285 }
286 }
287 finally {
288 if ((s1 != null)) {
289 s1.Close();
290 }
291 if ((s2 != null)) {
292 s2.Close();
293 }
294 }
295 }
296 xs.Add(dsSchema);
297 return type;
298 }
299
300 public delegate void PatientApptsRowChangeEventHandler(object sender, PatientApptsRowChangeEvent e);
301
302 public delegate void BSDXResourceRowChangeEventHandler(object sender, BSDXResourceRowChangeEvent e);
303
304 /// <summary>
305 ///Represents the strongly named DataTable class.
306 ///</summary>
307 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
308 [global::System.Serializable()]
309 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
310 public partial class PatientApptsDataTable : global::System.Data.TypedTableBase<PatientApptsRow> {
311
312 private global::System.Data.DataColumn columnName;
313
314 private global::System.Data.DataColumn columnDOB;
315
316 private global::System.Data.DataColumn columnSex;
317
318 private global::System.Data.DataColumn columnHRN;
319
320 private global::System.Data.DataColumn columnApptDate;
321
322 private global::System.Data.DataColumn columnClinic;
323
324 private global::System.Data.DataColumn columnTypeStatus;
325
326 private global::System.Data.DataColumn columnRESOURCEID;
327
328 private global::System.Data.DataColumn columnAPPT_MADE_BY;
329
330 private global::System.Data.DataColumn columnDATE_APPT_MADE;
331
332 private global::System.Data.DataColumn columnNOTE;
333
334 private global::System.Data.DataColumn columnSTREET;
335
336 private global::System.Data.DataColumn columnCITY;
337
338 private global::System.Data.DataColumn columnSTATE;
339
340 private global::System.Data.DataColumn columnZIP;
341
342 private global::System.Data.DataColumn columnHOMEPHONE;
343
344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
345 public PatientApptsDataTable() {
346 this.TableName = "PatientAppts";
347 this.BeginInit();
348 this.InitClass();
349 this.EndInit();
350 }
351
352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
353 internal PatientApptsDataTable(global::System.Data.DataTable table) {
354 this.TableName = table.TableName;
355 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
356 this.CaseSensitive = table.CaseSensitive;
357 }
358 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
359 this.Locale = table.Locale;
360 }
361 if ((table.Namespace != table.DataSet.Namespace)) {
362 this.Namespace = table.Namespace;
363 }
364 this.Prefix = table.Prefix;
365 this.MinimumCapacity = table.MinimumCapacity;
366 }
367
368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
369 protected PatientApptsDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
370 base(info, context) {
371 this.InitVars();
372 }
373
374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
375 public global::System.Data.DataColumn NameColumn {
376 get {
377 return this.columnName;
378 }
379 }
380
381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
382 public global::System.Data.DataColumn DOBColumn {
383 get {
384 return this.columnDOB;
385 }
386 }
387
388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
389 public global::System.Data.DataColumn SexColumn {
390 get {
391 return this.columnSex;
392 }
393 }
394
395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
396 public global::System.Data.DataColumn HRNColumn {
397 get {
398 return this.columnHRN;
399 }
400 }
401
402 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
403 public global::System.Data.DataColumn ApptDateColumn {
404 get {
405 return this.columnApptDate;
406 }
407 }
408
409 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
410 public global::System.Data.DataColumn ClinicColumn {
411 get {
412 return this.columnClinic;
413 }
414 }
415
416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
417 public global::System.Data.DataColumn TypeStatusColumn {
418 get {
419 return this.columnTypeStatus;
420 }
421 }
422
423 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
424 public global::System.Data.DataColumn RESOURCEIDColumn {
425 get {
426 return this.columnRESOURCEID;
427 }
428 }
429
430 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
431 public global::System.Data.DataColumn APPT_MADE_BYColumn {
432 get {
433 return this.columnAPPT_MADE_BY;
434 }
435 }
436
437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
438 public global::System.Data.DataColumn DATE_APPT_MADEColumn {
439 get {
440 return this.columnDATE_APPT_MADE;
441 }
442 }
443
444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
445 public global::System.Data.DataColumn NOTEColumn {
446 get {
447 return this.columnNOTE;
448 }
449 }
450
451 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
452 public global::System.Data.DataColumn STREETColumn {
453 get {
454 return this.columnSTREET;
455 }
456 }
457
458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
459 public global::System.Data.DataColumn CITYColumn {
460 get {
461 return this.columnCITY;
462 }
463 }
464
465 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
466 public global::System.Data.DataColumn STATEColumn {
467 get {
468 return this.columnSTATE;
469 }
470 }
471
472 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
473 public global::System.Data.DataColumn ZIPColumn {
474 get {
475 return this.columnZIP;
476 }
477 }
478
479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
480 public global::System.Data.DataColumn HOMEPHONEColumn {
481 get {
482 return this.columnHOMEPHONE;
483 }
484 }
485
486 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
487 [global::System.ComponentModel.Browsable(false)]
488 public int Count {
489 get {
490 return this.Rows.Count;
491 }
492 }
493
494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
495 public PatientApptsRow this[int index] {
496 get {
497 return ((PatientApptsRow)(this.Rows[index]));
498 }
499 }
500
501 public event PatientApptsRowChangeEventHandler PatientApptsRowChanging;
502
503 public event PatientApptsRowChangeEventHandler PatientApptsRowChanged;
504
505 public event PatientApptsRowChangeEventHandler PatientApptsRowDeleting;
506
507 public event PatientApptsRowChangeEventHandler PatientApptsRowDeleted;
508
509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
510 public void AddPatientApptsRow(PatientApptsRow row) {
511 this.Rows.Add(row);
512 }
513
514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
515 public PatientApptsRow AddPatientApptsRow(
516 string Name,
517 System.DateTime DOB,
518 string Sex,
519 string HRN,
520 System.DateTime ApptDate,
521 string Clinic,
522 string TypeStatus,
523 BSDXResourceRow parentBSDXResourceRowByFK_BSDXResource_PatientAppts,
524 string APPT_MADE_BY,
525 System.DateTime DATE_APPT_MADE,
526 string NOTE,
527 string STREET,
528 string CITY,
529 string STATE,
530 string ZIP,
531 string HOMEPHONE) {
532 PatientApptsRow rowPatientApptsRow = ((PatientApptsRow)(this.NewRow()));
533 object[] columnValuesArray = new object[] {
534 Name,
535 DOB,
536 Sex,
537 HRN,
538 ApptDate,
539 Clinic,
540 TypeStatus,
541 null,
542 APPT_MADE_BY,
543 DATE_APPT_MADE,
544 NOTE,
545 STREET,
546 CITY,
547 STATE,
548 ZIP,
549 HOMEPHONE};
550 if ((parentBSDXResourceRowByFK_BSDXResource_PatientAppts != null)) {
551 columnValuesArray[7] = parentBSDXResourceRowByFK_BSDXResource_PatientAppts[0];
552 }
553 rowPatientApptsRow.ItemArray = columnValuesArray;
554 this.Rows.Add(rowPatientApptsRow);
555 return rowPatientApptsRow;
556 }
557
558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
559 public override global::System.Data.DataTable Clone() {
560 PatientApptsDataTable cln = ((PatientApptsDataTable)(base.Clone()));
561 cln.InitVars();
562 return cln;
563 }
564
565 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
566 protected override global::System.Data.DataTable CreateInstance() {
567 return new PatientApptsDataTable();
568 }
569
570 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
571 internal void InitVars() {
572 this.columnName = base.Columns["Name"];
573 this.columnDOB = base.Columns["DOB"];
574 this.columnSex = base.Columns["Sex"];
575 this.columnHRN = base.Columns["HRN"];
576 this.columnApptDate = base.Columns["ApptDate"];
577 this.columnClinic = base.Columns["Clinic"];
578 this.columnTypeStatus = base.Columns["TypeStatus"];
579 this.columnRESOURCEID = base.Columns["RESOURCEID"];
580 this.columnAPPT_MADE_BY = base.Columns["APPT_MADE_BY"];
581 this.columnDATE_APPT_MADE = base.Columns["DATE_APPT_MADE"];
582 this.columnNOTE = base.Columns["NOTE"];
583 this.columnSTREET = base.Columns["STREET"];
584 this.columnCITY = base.Columns["CITY"];
585 this.columnSTATE = base.Columns["STATE"];
586 this.columnZIP = base.Columns["ZIP"];
587 this.columnHOMEPHONE = base.Columns["HOMEPHONE"];
588 }
589
590 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
591 private void InitClass() {
592 this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element);
593 base.Columns.Add(this.columnName);
594 this.columnDOB = new global::System.Data.DataColumn("DOB", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
595 base.Columns.Add(this.columnDOB);
596 this.columnSex = new global::System.Data.DataColumn("Sex", typeof(string), null, global::System.Data.MappingType.Element);
597 base.Columns.Add(this.columnSex);
598 this.columnHRN = new global::System.Data.DataColumn("HRN", typeof(string), null, global::System.Data.MappingType.Element);
599 base.Columns.Add(this.columnHRN);
600 this.columnApptDate = new global::System.Data.DataColumn("ApptDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
601 base.Columns.Add(this.columnApptDate);
602 this.columnClinic = new global::System.Data.DataColumn("Clinic", typeof(string), null, global::System.Data.MappingType.Element);
603 base.Columns.Add(this.columnClinic);
604 this.columnTypeStatus = new global::System.Data.DataColumn("TypeStatus", typeof(string), null, global::System.Data.MappingType.Element);
605 base.Columns.Add(this.columnTypeStatus);
606 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element);
607 base.Columns.Add(this.columnRESOURCEID);
608 this.columnAPPT_MADE_BY = new global::System.Data.DataColumn("APPT_MADE_BY", typeof(string), null, global::System.Data.MappingType.Element);
609 base.Columns.Add(this.columnAPPT_MADE_BY);
610 this.columnDATE_APPT_MADE = new global::System.Data.DataColumn("DATE_APPT_MADE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
611 base.Columns.Add(this.columnDATE_APPT_MADE);
612 this.columnNOTE = new global::System.Data.DataColumn("NOTE", typeof(string), null, global::System.Data.MappingType.Element);
613 base.Columns.Add(this.columnNOTE);
614 this.columnSTREET = new global::System.Data.DataColumn("STREET", typeof(string), null, global::System.Data.MappingType.Element);
615 base.Columns.Add(this.columnSTREET);
616 this.columnCITY = new global::System.Data.DataColumn("CITY", typeof(string), null, global::System.Data.MappingType.Element);
617 base.Columns.Add(this.columnCITY);
618 this.columnSTATE = new global::System.Data.DataColumn("STATE", typeof(string), null, global::System.Data.MappingType.Element);
619 base.Columns.Add(this.columnSTATE);
620 this.columnZIP = new global::System.Data.DataColumn("ZIP", typeof(string), null, global::System.Data.MappingType.Element);
621 base.Columns.Add(this.columnZIP);
622 this.columnHOMEPHONE = new global::System.Data.DataColumn("HOMEPHONE", typeof(string), null, global::System.Data.MappingType.Element);
623 base.Columns.Add(this.columnHOMEPHONE);
624 }
625
626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
627 public PatientApptsRow NewPatientApptsRow() {
628 return ((PatientApptsRow)(this.NewRow()));
629 }
630
631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
632 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
633 return new PatientApptsRow(builder);
634 }
635
636 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
637 protected override global::System.Type GetRowType() {
638 return typeof(PatientApptsRow);
639 }
640
641 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
642 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
643 base.OnRowChanged(e);
644 if ((this.PatientApptsRowChanged != null)) {
645 this.PatientApptsRowChanged(this, new PatientApptsRowChangeEvent(((PatientApptsRow)(e.Row)), e.Action));
646 }
647 }
648
649 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
650 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
651 base.OnRowChanging(e);
652 if ((this.PatientApptsRowChanging != null)) {
653 this.PatientApptsRowChanging(this, new PatientApptsRowChangeEvent(((PatientApptsRow)(e.Row)), e.Action));
654 }
655 }
656
657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
658 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
659 base.OnRowDeleted(e);
660 if ((this.PatientApptsRowDeleted != null)) {
661 this.PatientApptsRowDeleted(this, new PatientApptsRowChangeEvent(((PatientApptsRow)(e.Row)), e.Action));
662 }
663 }
664
665 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
666 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
667 base.OnRowDeleting(e);
668 if ((this.PatientApptsRowDeleting != null)) {
669 this.PatientApptsRowDeleting(this, new PatientApptsRowChangeEvent(((PatientApptsRow)(e.Row)), e.Action));
670 }
671 }
672
673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
674 public void RemovePatientApptsRow(PatientApptsRow row) {
675 this.Rows.Remove(row);
676 }
677
678 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
679 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
680 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
681 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
682 dsPatientApptDisplay2 ds = new dsPatientApptDisplay2();
683 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
684 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
685 any1.MinOccurs = new decimal(0);
686 any1.MaxOccurs = decimal.MaxValue;
687 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
688 sequence.Items.Add(any1);
689 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
690 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
691 any2.MinOccurs = new decimal(1);
692 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
693 sequence.Items.Add(any2);
694 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
695 attribute1.Name = "namespace";
696 attribute1.FixedValue = ds.Namespace;
697 type.Attributes.Add(attribute1);
698 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
699 attribute2.Name = "tableTypeName";
700 attribute2.FixedValue = "PatientApptsDataTable";
701 type.Attributes.Add(attribute2);
702 type.Particle = sequence;
703 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
704 if (xs.Contains(dsSchema.TargetNamespace)) {
705 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
706 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
707 try {
708 global::System.Xml.Schema.XmlSchema schema = null;
709 dsSchema.Write(s1);
710 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
711 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
712 s2.SetLength(0);
713 schema.Write(s2);
714 if ((s1.Length == s2.Length)) {
715 s1.Position = 0;
716 s2.Position = 0;
717 for (; ((s1.Position != s1.Length)
718 && (s1.ReadByte() == s2.ReadByte())); ) {
719 ;
720 }
721 if ((s1.Position == s1.Length)) {
722 return type;
723 }
724 }
725 }
726 }
727 finally {
728 if ((s1 != null)) {
729 s1.Close();
730 }
731 if ((s2 != null)) {
732 s2.Close();
733 }
734 }
735 }
736 xs.Add(dsSchema);
737 return type;
738 }
739 }
740
741 /// <summary>
742 ///Represents the strongly named DataTable class.
743 ///</summary>
744 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
745 [global::System.Serializable()]
746 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
747 public partial class BSDXResourceDataTable : global::System.Data.TypedTableBase<BSDXResourceRow> {
748
749 private global::System.Data.DataColumn columnRESOURCEID;
750
751 private global::System.Data.DataColumn columnRESOURCE_NAME;
752
753 private global::System.Data.DataColumn columnLETTER_TEXT;
754
755 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
756 public BSDXResourceDataTable() {
757 this.TableName = "BSDXResource";
758 this.BeginInit();
759 this.InitClass();
760 this.EndInit();
761 }
762
763 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
764 internal BSDXResourceDataTable(global::System.Data.DataTable table) {
765 this.TableName = table.TableName;
766 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
767 this.CaseSensitive = table.CaseSensitive;
768 }
769 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
770 this.Locale = table.Locale;
771 }
772 if ((table.Namespace != table.DataSet.Namespace)) {
773 this.Namespace = table.Namespace;
774 }
775 this.Prefix = table.Prefix;
776 this.MinimumCapacity = table.MinimumCapacity;
777 }
778
779 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
780 protected BSDXResourceDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
781 base(info, context) {
782 this.InitVars();
783 }
784
785 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
786 public global::System.Data.DataColumn RESOURCEIDColumn {
787 get {
788 return this.columnRESOURCEID;
789 }
790 }
791
792 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
793 public global::System.Data.DataColumn RESOURCE_NAMEColumn {
794 get {
795 return this.columnRESOURCE_NAME;
796 }
797 }
798
799 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
800 public global::System.Data.DataColumn LETTER_TEXTColumn {
801 get {
802 return this.columnLETTER_TEXT;
803 }
804 }
805
806 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
807 [global::System.ComponentModel.Browsable(false)]
808 public int Count {
809 get {
810 return this.Rows.Count;
811 }
812 }
813
814 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
815 public BSDXResourceRow this[int index] {
816 get {
817 return ((BSDXResourceRow)(this.Rows[index]));
818 }
819 }
820
821 public event BSDXResourceRowChangeEventHandler BSDXResourceRowChanging;
822
823 public event BSDXResourceRowChangeEventHandler BSDXResourceRowChanged;
824
825 public event BSDXResourceRowChangeEventHandler BSDXResourceRowDeleting;
826
827 public event BSDXResourceRowChangeEventHandler BSDXResourceRowDeleted;
828
829 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
830 public void AddBSDXResourceRow(BSDXResourceRow row) {
831 this.Rows.Add(row);
832 }
833
834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
835 public BSDXResourceRow AddBSDXResourceRow(int RESOURCEID, string RESOURCE_NAME, string LETTER_TEXT) {
836 BSDXResourceRow rowBSDXResourceRow = ((BSDXResourceRow)(this.NewRow()));
837 object[] columnValuesArray = new object[] {
838 RESOURCEID,
839 RESOURCE_NAME,
840 LETTER_TEXT};
841 rowBSDXResourceRow.ItemArray = columnValuesArray;
842 this.Rows.Add(rowBSDXResourceRow);
843 return rowBSDXResourceRow;
844 }
845
846 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
847 public override global::System.Data.DataTable Clone() {
848 BSDXResourceDataTable cln = ((BSDXResourceDataTable)(base.Clone()));
849 cln.InitVars();
850 return cln;
851 }
852
853 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
854 protected override global::System.Data.DataTable CreateInstance() {
855 return new BSDXResourceDataTable();
856 }
857
858 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
859 internal void InitVars() {
860 this.columnRESOURCEID = base.Columns["RESOURCEID"];
861 this.columnRESOURCE_NAME = base.Columns["RESOURCE_NAME"];
862 this.columnLETTER_TEXT = base.Columns["LETTER_TEXT"];
863 }
864
865 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
866 private void InitClass() {
867 this.columnRESOURCEID = new global::System.Data.DataColumn("RESOURCEID", typeof(int), null, global::System.Data.MappingType.Element);
868 base.Columns.Add(this.columnRESOURCEID);
869 this.columnRESOURCE_NAME = new global::System.Data.DataColumn("RESOURCE_NAME", typeof(string), null, global::System.Data.MappingType.Element);
870 base.Columns.Add(this.columnRESOURCE_NAME);
871 this.columnLETTER_TEXT = new global::System.Data.DataColumn("LETTER_TEXT", typeof(string), null, global::System.Data.MappingType.Element);
872 base.Columns.Add(this.columnLETTER_TEXT);
873 this.Constraints.Add(new global::System.Data.UniqueConstraint("kBSDXResourceID", new global::System.Data.DataColumn[] {
874 this.columnRESOURCEID}, false));
875 this.columnRESOURCEID.AllowDBNull = false;
876 this.columnRESOURCEID.Unique = true;
877 }
878
879 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
880 public BSDXResourceRow NewBSDXResourceRow() {
881 return ((BSDXResourceRow)(this.NewRow()));
882 }
883
884 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
885 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
886 return new BSDXResourceRow(builder);
887 }
888
889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
890 protected override global::System.Type GetRowType() {
891 return typeof(BSDXResourceRow);
892 }
893
894 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
895 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
896 base.OnRowChanged(e);
897 if ((this.BSDXResourceRowChanged != null)) {
898 this.BSDXResourceRowChanged(this, new BSDXResourceRowChangeEvent(((BSDXResourceRow)(e.Row)), e.Action));
899 }
900 }
901
902 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
903 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
904 base.OnRowChanging(e);
905 if ((this.BSDXResourceRowChanging != null)) {
906 this.BSDXResourceRowChanging(this, new BSDXResourceRowChangeEvent(((BSDXResourceRow)(e.Row)), e.Action));
907 }
908 }
909
910 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
911 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
912 base.OnRowDeleted(e);
913 if ((this.BSDXResourceRowDeleted != null)) {
914 this.BSDXResourceRowDeleted(this, new BSDXResourceRowChangeEvent(((BSDXResourceRow)(e.Row)), e.Action));
915 }
916 }
917
918 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
919 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
920 base.OnRowDeleting(e);
921 if ((this.BSDXResourceRowDeleting != null)) {
922 this.BSDXResourceRowDeleting(this, new BSDXResourceRowChangeEvent(((BSDXResourceRow)(e.Row)), e.Action));
923 }
924 }
925
926 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
927 public void RemoveBSDXResourceRow(BSDXResourceRow row) {
928 this.Rows.Remove(row);
929 }
930
931 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
932 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
933 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
934 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
935 dsPatientApptDisplay2 ds = new dsPatientApptDisplay2();
936 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
937 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
938 any1.MinOccurs = new decimal(0);
939 any1.MaxOccurs = decimal.MaxValue;
940 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
941 sequence.Items.Add(any1);
942 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
943 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
944 any2.MinOccurs = new decimal(1);
945 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
946 sequence.Items.Add(any2);
947 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
948 attribute1.Name = "namespace";
949 attribute1.FixedValue = ds.Namespace;
950 type.Attributes.Add(attribute1);
951 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
952 attribute2.Name = "tableTypeName";
953 attribute2.FixedValue = "BSDXResourceDataTable";
954 type.Attributes.Add(attribute2);
955 type.Particle = sequence;
956 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
957 if (xs.Contains(dsSchema.TargetNamespace)) {
958 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
959 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
960 try {
961 global::System.Xml.Schema.XmlSchema schema = null;
962 dsSchema.Write(s1);
963 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
964 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
965 s2.SetLength(0);
966 schema.Write(s2);
967 if ((s1.Length == s2.Length)) {
968 s1.Position = 0;
969 s2.Position = 0;
970 for (; ((s1.Position != s1.Length)
971 && (s1.ReadByte() == s2.ReadByte())); ) {
972 ;
973 }
974 if ((s1.Position == s1.Length)) {
975 return type;
976 }
977 }
978 }
979 }
980 finally {
981 if ((s1 != null)) {
982 s1.Close();
983 }
984 if ((s2 != null)) {
985 s2.Close();
986 }
987 }
988 }
989 xs.Add(dsSchema);
990 return type;
991 }
992 }
993
994 /// <summary>
995 ///Represents strongly named DataRow class.
996 ///</summary>
997 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
998 public partial class PatientApptsRow : global::System.Data.DataRow {
999
1000 private PatientApptsDataTable tablePatientAppts;
1001
1002 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1003 internal PatientApptsRow(global::System.Data.DataRowBuilder rb) :
1004 base(rb) {
1005 this.tablePatientAppts = ((PatientApptsDataTable)(this.Table));
1006 }
1007
1008 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1009 public string Name {
1010 get {
1011 try {
1012 return ((string)(this[this.tablePatientAppts.NameColumn]));
1013 }
1014 catch (global::System.InvalidCastException e) {
1015 throw new global::System.Data.StrongTypingException("The value for column \'Name\' in table \'PatientAppts\' is DBNull.", e);
1016 }
1017 }
1018 set {
1019 this[this.tablePatientAppts.NameColumn] = value;
1020 }
1021 }
1022
1023 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1024 public System.DateTime DOB {
1025 get {
1026 try {
1027 return ((global::System.DateTime)(this[this.tablePatientAppts.DOBColumn]));
1028 }
1029 catch (global::System.InvalidCastException e) {
1030 throw new global::System.Data.StrongTypingException("The value for column \'DOB\' in table \'PatientAppts\' is DBNull.", e);
1031 }
1032 }
1033 set {
1034 this[this.tablePatientAppts.DOBColumn] = value;
1035 }
1036 }
1037
1038 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1039 public string Sex {
1040 get {
1041 try {
1042 return ((string)(this[this.tablePatientAppts.SexColumn]));
1043 }
1044 catch (global::System.InvalidCastException e) {
1045 throw new global::System.Data.StrongTypingException("The value for column \'Sex\' in table \'PatientAppts\' is DBNull.", e);
1046 }
1047 }
1048 set {
1049 this[this.tablePatientAppts.SexColumn] = value;
1050 }
1051 }
1052
1053 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1054 public string HRN {
1055 get {
1056 try {
1057 return ((string)(this[this.tablePatientAppts.HRNColumn]));
1058 }
1059 catch (global::System.InvalidCastException e) {
1060 throw new global::System.Data.StrongTypingException("The value for column \'HRN\' in table \'PatientAppts\' is DBNull.", e);
1061 }
1062 }
1063 set {
1064 this[this.tablePatientAppts.HRNColumn] = value;
1065 }
1066 }
1067
1068 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1069 public System.DateTime ApptDate {
1070 get {
1071 try {
1072 return ((global::System.DateTime)(this[this.tablePatientAppts.ApptDateColumn]));
1073 }
1074 catch (global::System.InvalidCastException e) {
1075 throw new global::System.Data.StrongTypingException("The value for column \'ApptDate\' in table \'PatientAppts\' is DBNull.", e);
1076 }
1077 }
1078 set {
1079 this[this.tablePatientAppts.ApptDateColumn] = value;
1080 }
1081 }
1082
1083 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1084 public string Clinic {
1085 get {
1086 try {
1087 return ((string)(this[this.tablePatientAppts.ClinicColumn]));
1088 }
1089 catch (global::System.InvalidCastException e) {
1090 throw new global::System.Data.StrongTypingException("The value for column \'Clinic\' in table \'PatientAppts\' is DBNull.", e);
1091 }
1092 }
1093 set {
1094 this[this.tablePatientAppts.ClinicColumn] = value;
1095 }
1096 }
1097
1098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1099 public string TypeStatus {
1100 get {
1101 try {
1102 return ((string)(this[this.tablePatientAppts.TypeStatusColumn]));
1103 }
1104 catch (global::System.InvalidCastException e) {
1105 throw new global::System.Data.StrongTypingException("The value for column \'TypeStatus\' in table \'PatientAppts\' is DBNull.", e);
1106 }
1107 }
1108 set {
1109 this[this.tablePatientAppts.TypeStatusColumn] = value;
1110 }
1111 }
1112
1113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1114 public int RESOURCEID {
1115 get {
1116 try {
1117 return ((int)(this[this.tablePatientAppts.RESOURCEIDColumn]));
1118 }
1119 catch (global::System.InvalidCastException e) {
1120 throw new global::System.Data.StrongTypingException("The value for column \'RESOURCEID\' in table \'PatientAppts\' is DBNull.", e);
1121 }
1122 }
1123 set {
1124 this[this.tablePatientAppts.RESOURCEIDColumn] = value;
1125 }
1126 }
1127
1128 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1129 public string APPT_MADE_BY {
1130 get {
1131 try {
1132 return ((string)(this[this.tablePatientAppts.APPT_MADE_BYColumn]));
1133 }
1134 catch (global::System.InvalidCastException e) {
1135 throw new global::System.Data.StrongTypingException("The value for column \'APPT_MADE_BY\' in table \'PatientAppts\' is DBNull.", e);
1136 }
1137 }
1138 set {
1139 this[this.tablePatientAppts.APPT_MADE_BYColumn] = value;
1140 }
1141 }
1142
1143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1144 public System.DateTime DATE_APPT_MADE {
1145 get {
1146 try {
1147 return ((global::System.DateTime)(this[this.tablePatientAppts.DATE_APPT_MADEColumn]));
1148 }
1149 catch (global::System.InvalidCastException e) {
1150 throw new global::System.Data.StrongTypingException("The value for column \'DATE_APPT_MADE\' in table \'PatientAppts\' is DBNull.", e);
1151 }
1152 }
1153 set {
1154 this[this.tablePatientAppts.DATE_APPT_MADEColumn] = value;
1155 }
1156 }
1157
1158 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1159 public string NOTE {
1160 get {
1161 try {
1162 return ((string)(this[this.tablePatientAppts.NOTEColumn]));
1163 }
1164 catch (global::System.InvalidCastException e) {
1165 throw new global::System.Data.StrongTypingException("The value for column \'NOTE\' in table \'PatientAppts\' is DBNull.", e);
1166 }
1167 }
1168 set {
1169 this[this.tablePatientAppts.NOTEColumn] = value;
1170 }
1171 }
1172
1173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1174 public string STREET {
1175 get {
1176 try {
1177 return ((string)(this[this.tablePatientAppts.STREETColumn]));
1178 }
1179 catch (global::System.InvalidCastException e) {
1180 throw new global::System.Data.StrongTypingException("The value for column \'STREET\' in table \'PatientAppts\' is DBNull.", e);
1181 }
1182 }
1183 set {
1184 this[this.tablePatientAppts.STREETColumn] = value;
1185 }
1186 }
1187
1188 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1189 public string CITY {
1190 get {
1191 try {
1192 return ((string)(this[this.tablePatientAppts.CITYColumn]));
1193 }
1194 catch (global::System.InvalidCastException e) {
1195 throw new global::System.Data.StrongTypingException("The value for column \'CITY\' in table \'PatientAppts\' is DBNull.", e);
1196 }
1197 }
1198 set {
1199 this[this.tablePatientAppts.CITYColumn] = value;
1200 }
1201 }
1202
1203 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1204 public string STATE {
1205 get {
1206 try {
1207 return ((string)(this[this.tablePatientAppts.STATEColumn]));
1208 }
1209 catch (global::System.InvalidCastException e) {
1210 throw new global::System.Data.StrongTypingException("The value for column \'STATE\' in table \'PatientAppts\' is DBNull.", e);
1211 }
1212 }
1213 set {
1214 this[this.tablePatientAppts.STATEColumn] = value;
1215 }
1216 }
1217
1218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1219 public string ZIP {
1220 get {
1221 try {
1222 return ((string)(this[this.tablePatientAppts.ZIPColumn]));
1223 }
1224 catch (global::System.InvalidCastException e) {
1225 throw new global::System.Data.StrongTypingException("The value for column \'ZIP\' in table \'PatientAppts\' is DBNull.", e);
1226 }
1227 }
1228 set {
1229 this[this.tablePatientAppts.ZIPColumn] = value;
1230 }
1231 }
1232
1233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1234 public string HOMEPHONE {
1235 get {
1236 try {
1237 return ((string)(this[this.tablePatientAppts.HOMEPHONEColumn]));
1238 }
1239 catch (global::System.InvalidCastException e) {
1240 throw new global::System.Data.StrongTypingException("The value for column \'HOMEPHONE\' in table \'PatientAppts\' is DBNull.", e);
1241 }
1242 }
1243 set {
1244 this[this.tablePatientAppts.HOMEPHONEColumn] = value;
1245 }
1246 }
1247
1248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1249 public BSDXResourceRow BSDXResourceRow {
1250 get {
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 }
1256 }
1257
1258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1259 public bool IsNameNull() {
1260 return this.IsNull(this.tablePatientAppts.NameColumn);
1261 }
1262
1263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1264 public void SetNameNull() {
1265 this[this.tablePatientAppts.NameColumn] = global::System.Convert.DBNull;
1266 }
1267
1268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1269 public bool IsDOBNull() {
1270 return this.IsNull(this.tablePatientAppts.DOBColumn);
1271 }
1272
1273 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1274 public void SetDOBNull() {
1275 this[this.tablePatientAppts.DOBColumn] = global::System.Convert.DBNull;
1276 }
1277
1278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1279 public bool IsSexNull() {
1280 return this.IsNull(this.tablePatientAppts.SexColumn);
1281 }
1282
1283 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1284 public void SetSexNull() {
1285 this[this.tablePatientAppts.SexColumn] = global::System.Convert.DBNull;
1286 }
1287
1288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1289 public bool IsHRNNull() {
1290 return this.IsNull(this.tablePatientAppts.HRNColumn);
1291 }
1292
1293 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1294 public void SetHRNNull() {
1295 this[this.tablePatientAppts.HRNColumn] = global::System.Convert.DBNull;
1296 }
1297
1298 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1299 public bool IsApptDateNull() {
1300 return this.IsNull(this.tablePatientAppts.ApptDateColumn);
1301 }
1302
1303 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1304 public void SetApptDateNull() {
1305 this[this.tablePatientAppts.ApptDateColumn] = global::System.Convert.DBNull;
1306 }
1307
1308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1309 public bool IsClinicNull() {
1310 return this.IsNull(this.tablePatientAppts.ClinicColumn);
1311 }
1312
1313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1314 public void SetClinicNull() {
1315 this[this.tablePatientAppts.ClinicColumn] = global::System.Convert.DBNull;
1316 }
1317
1318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1319 public bool IsTypeStatusNull() {
1320 return this.IsNull(this.tablePatientAppts.TypeStatusColumn);
1321 }
1322
1323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1324 public void SetTypeStatusNull() {
1325 this[this.tablePatientAppts.TypeStatusColumn] = global::System.Convert.DBNull;
1326 }
1327
1328 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1329 public bool IsRESOURCEIDNull() {
1330 return this.IsNull(this.tablePatientAppts.RESOURCEIDColumn);
1331 }
1332
1333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1334 public void SetRESOURCEIDNull() {
1335 this[this.tablePatientAppts.RESOURCEIDColumn] = global::System.Convert.DBNull;
1336 }
1337
1338 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1339 public bool IsAPPT_MADE_BYNull() {
1340 return this.IsNull(this.tablePatientAppts.APPT_MADE_BYColumn);
1341 }
1342
1343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1344 public void SetAPPT_MADE_BYNull() {
1345 this[this.tablePatientAppts.APPT_MADE_BYColumn] = global::System.Convert.DBNull;
1346 }
1347
1348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1349 public bool IsDATE_APPT_MADENull() {
1350 return this.IsNull(this.tablePatientAppts.DATE_APPT_MADEColumn);
1351 }
1352
1353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1354 public void SetDATE_APPT_MADENull() {
1355 this[this.tablePatientAppts.DATE_APPT_MADEColumn] = global::System.Convert.DBNull;
1356 }
1357
1358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1359 public bool IsNOTENull() {
1360 return this.IsNull(this.tablePatientAppts.NOTEColumn);
1361 }
1362
1363 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1364 public void SetNOTENull() {
1365 this[this.tablePatientAppts.NOTEColumn] = global::System.Convert.DBNull;
1366 }
1367
1368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1369 public bool IsSTREETNull() {
1370 return this.IsNull(this.tablePatientAppts.STREETColumn);
1371 }
1372
1373 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1374 public void SetSTREETNull() {
1375 this[this.tablePatientAppts.STREETColumn] = global::System.Convert.DBNull;
1376 }
1377
1378 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1379 public bool IsCITYNull() {
1380 return this.IsNull(this.tablePatientAppts.CITYColumn);
1381 }
1382
1383 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1384 public void SetCITYNull() {
1385 this[this.tablePatientAppts.CITYColumn] = global::System.Convert.DBNull;
1386 }
1387
1388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1389 public bool IsSTATENull() {
1390 return this.IsNull(this.tablePatientAppts.STATEColumn);
1391 }
1392
1393 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1394 public void SetSTATENull() {
1395 this[this.tablePatientAppts.STATEColumn] = global::System.Convert.DBNull;
1396 }
1397
1398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1399 public bool IsZIPNull() {
1400 return this.IsNull(this.tablePatientAppts.ZIPColumn);
1401 }
1402
1403 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1404 public void SetZIPNull() {
1405 this[this.tablePatientAppts.ZIPColumn] = global::System.Convert.DBNull;
1406 }
1407
1408 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1409 public bool IsHOMEPHONENull() {
1410 return this.IsNull(this.tablePatientAppts.HOMEPHONEColumn);
1411 }
1412
1413 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1414 public void SetHOMEPHONENull() {
1415 this[this.tablePatientAppts.HOMEPHONEColumn] = global::System.Convert.DBNull;
1416 }
1417 }
1418
1419 /// <summary>
1420 ///Represents strongly named DataRow class.
1421 ///</summary>
1422 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
1423 public partial class BSDXResourceRow : global::System.Data.DataRow {
1424
1425 private BSDXResourceDataTable tableBSDXResource;
1426
1427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1428 internal BSDXResourceRow(global::System.Data.DataRowBuilder rb) :
1429 base(rb) {
1430 this.tableBSDXResource = ((BSDXResourceDataTable)(this.Table));
1431 }
1432
1433 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1434 public int RESOURCEID {
1435 get {
1436 return ((int)(this[this.tableBSDXResource.RESOURCEIDColumn]));
1437 }
1438 set {
1439 this[this.tableBSDXResource.RESOURCEIDColumn] = value;
1440 }
1441 }
1442
1443 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1444 public string RESOURCE_NAME {
1445 get {
1446 try {
1447 return ((string)(this[this.tableBSDXResource.RESOURCE_NAMEColumn]));
1448 }
1449 catch (global::System.InvalidCastException e) {
1450 throw new global::System.Data.StrongTypingException("The value for column \'RESOURCE_NAME\' in table \'BSDXResource\' is DBNull.", e);
1451 }
1452 }
1453 set {
1454 this[this.tableBSDXResource.RESOURCE_NAMEColumn] = value;
1455 }
1456 }
1457
1458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1459 public string LETTER_TEXT {
1460 get {
1461 try {
1462 return ((string)(this[this.tableBSDXResource.LETTER_TEXTColumn]));
1463 }
1464 catch (global::System.InvalidCastException e) {
1465 throw new global::System.Data.StrongTypingException("The value for column \'LETTER_TEXT\' in table \'BSDXResource\' is DBNull.", e);
1466 }
1467 }
1468 set {
1469 this[this.tableBSDXResource.LETTER_TEXTColumn] = value;
1470 }
1471 }
1472
1473 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1474 public bool IsRESOURCE_NAMENull() {
1475 return this.IsNull(this.tableBSDXResource.RESOURCE_NAMEColumn);
1476 }
1477
1478 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1479 public void SetRESOURCE_NAMENull() {
1480 this[this.tableBSDXResource.RESOURCE_NAMEColumn] = global::System.Convert.DBNull;
1481 }
1482
1483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1484 public bool IsLETTER_TEXTNull() {
1485 return this.IsNull(this.tableBSDXResource.LETTER_TEXTColumn);
1486 }
1487
1488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1489 public void SetLETTER_TEXTNull() {
1490 this[this.tableBSDXResource.LETTER_TEXTColumn] = global::System.Convert.DBNull;
1491 }
1492
1493 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1494 public PatientApptsRow[] GetPatientApptsRows() {
1495 if ((this.Table.ChildRelations["FK_BSDXResource_PatientAppts"] == null)) {
1496 return new PatientApptsRow[0];
1497 }
1498 else {
1499 return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_BSDXResource_PatientAppts"])));
1500 }
1501 }
1502 }
1503
1504 /// <summary>
1505 ///Row event argument class
1506 ///</summary>
1507 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
1508 public class PatientApptsRowChangeEvent : global::System.EventArgs {
1509
1510 private PatientApptsRow eventRow;
1511
1512 private global::System.Data.DataRowAction eventAction;
1513
1514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1515 public PatientApptsRowChangeEvent(PatientApptsRow row, global::System.Data.DataRowAction action) {
1516 this.eventRow = row;
1517 this.eventAction = action;
1518 }
1519
1520 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1521 public PatientApptsRow Row {
1522 get {
1523 return this.eventRow;
1524 }
1525 }
1526
1527 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1528 public global::System.Data.DataRowAction Action {
1529 get {
1530 return this.eventAction;
1531 }
1532 }
1533 }
1534
1535 /// <summary>
1536 ///Row event argument class
1537 ///</summary>
1538 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
1539 public class BSDXResourceRowChangeEvent : global::System.EventArgs {
1540
1541 private BSDXResourceRow eventRow;
1542
1543 private global::System.Data.DataRowAction eventAction;
1544
1545 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1546 public BSDXResourceRowChangeEvent(BSDXResourceRow row, global::System.Data.DataRowAction action) {
1547 this.eventRow = row;
1548 this.eventAction = action;
1549 }
1550
1551 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1552 public BSDXResourceRow Row {
1553 get {
1554 return this.eventRow;
1555 }
1556 }
1557
1558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1559 public global::System.Data.DataRowAction Action {
1560 get {
1561 return this.eventAction;
1562 }
1563 }
1564 }
1565 }
1566}
1567
1568#pragma warning restore 1591
Note: See TracBrowser for help on using the repository browser.