Ignore:
Timestamp:
May 21, 2010, 9:03:45 PM (14 years ago)
Author:
Sam Habiel
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/dsPatientApptDisplay2.Designer.cs

    r614 r772  
    22// <auto-generated>
    33//     This code was generated by a tool.
    4 //     Runtime Version:2.0.50727.3053
     4//     Runtime Version:2.0.50727.3603
    55//
    66//     Changes to this file may cause incorrect behavior and will be lost if
     
    3030        private BSDXResourceDataTable tableBSDXResource;
    3131       
    32         private global::System.Data.DataRelation relationBSDXResourcePatientAppts;
     32        private global::System.Data.DataRelation relationFK_BSDXResource_PatientAppts;
    3333       
    3434        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     
    207207                }
    208208            }
    209             this.relationBSDXResourcePatientAppts = this.Relations["BSDXResourcePatientAppts"];
     209            this.relationFK_BSDXResource_PatientAppts = this.Relations["FK_BSDXResource_PatientAppts"];
    210210        }
    211211       
     
    222222            base.Tables.Add(this.tableBSDXResource);
    223223            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[] {
    225225                        this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] {
    226226                        this.tablePatientAppts.RESOURCEIDColumn});
     
    229229            fkc.DeleteRule = global::System.Data.Rule.Cascade;
    230230            fkc.UpdateRule = global::System.Data.Rule.Cascade;
    231             this.relationBSDXResourcePatientAppts = 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[] {
    232232                        this.tableBSDXResource.RESOURCEIDColumn}, new global::System.Data.DataColumn[] {
    233233                        this.tablePatientAppts.RESOURCEIDColumn}, false);
    234             this.Relations.Add(this.relationBSDXResourcePatientAppts);
     234            this.Relations.Add(this.relationFK_BSDXResource_PatientAppts);
    235235        }
    236236       
     
    521521                        string Clinic,
    522522                        string TypeStatus,
    523                         BSDXResourceRow parentBSDXResourceRowByBSDXResourcePatientAppts,
     523                        BSDXResourceRow parentBSDXResourceRowByFK_BSDXResource_PatientAppts,
    524524                        string APPT_MADE_BY,
    525525                        System.DateTime DATE_APPT_MADE,
     
    548548                        ZIP,
    549549                        HOMEPHONE};
    550                 if ((parentBSDXResourceRowByBSDXResourcePatientAppts != null)) {
    551                     columnValuesArray[7] = parentBSDXResourceRowByBSDXResourcePatientAppts[0];
     550                if ((parentBSDXResourceRowByFK_BSDXResource_PatientAppts != null)) {
     551                    columnValuesArray[7] = parentBSDXResourceRowByFK_BSDXResource_PatientAppts[0];
    552552                }
    553553                rowPatientApptsRow.ItemArray = columnValuesArray;
     
    604604                this.columnTypeStatus = new global::System.Data.DataColumn("TypeStatus", typeof(string), null, global::System.Data.MappingType.Element);
    605605                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);
    607607                base.Columns.Add(this.columnRESOURCEID);
    608608                this.columnAPPT_MADE_BY = new global::System.Data.DataColumn("APPT_MADE_BY", typeof(string), null, global::System.Data.MappingType.Element);
     
    833833           
    834834            [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) {
    836836                BSDXResourceRow rowBSDXResourceRow = ((BSDXResourceRow)(this.NewRow()));
    837837                object[] columnValuesArray = new object[] {
     
    865865            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    866866            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);
    868868                base.Columns.Add(this.columnRESOURCEID);
    869869                this.columnRESOURCE_NAME = new global::System.Data.DataColumn("RESOURCE_NAME", typeof(string), null, global::System.Data.MappingType.Element);
     
    11121112           
    11131113            [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]));
    11181118                    }
    11191119                    catch (global::System.InvalidCastException e) {
     
    12491249            public BSDXResourceRow BSDXResourceRow {
    12501250                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"]);
    12551255                }
    12561256            }
     
    14321432           
    14331433            [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]));
    14371437                }
    14381438                set {
     
    14931493            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    14941494            public PatientApptsRow[] GetPatientApptsRows() {
    1495                 if ((this.Table.ChildRelations["BSDXResourcePatientAppts"] == null)) {
     1495                if ((this.Table.ChildRelations["FK_BSDXResource_PatientAppts"] == null)) {
    14961496                    return new PatientApptsRow[0];
    14971497                }
    14981498                else {
    1499                     return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["BSDXResourcePatientAppts"])));
     1499                    return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_BSDXResource_PatientAppts"])));
    15001500                }
    15011501            }
Note: See TracChangeset for help on using the changeset viewer.