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/dsRebookAppts.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       
     
    530530                        string Clinic,
    531531                        string TypeStatus,
    532                         BSDXResourceRow parentBSDXResourceRowByBSDXResourcePatientAppts,
     532                        BSDXResourceRow parentBSDXResourceRowByFK_BSDXResource_PatientAppts,
    533533                        string APPT_MADE_BY,
    534534                        System.DateTime DATE_APPT_MADE,
     
    559559                        HOMEPHONE,
    560560                        OldApptDate};
    561                 if ((parentBSDXResourceRowByBSDXResourcePatientAppts != null)) {
    562                     columnValuesArray[7] = parentBSDXResourceRowByBSDXResourcePatientAppts[0];
     561                if ((parentBSDXResourceRowByFK_BSDXResource_PatientAppts != null)) {
     562                    columnValuesArray[7] = parentBSDXResourceRowByFK_BSDXResource_PatientAppts[0];
    563563                }
    564564                rowPatientApptsRow.ItemArray = columnValuesArray;
     
    616616                this.columnTypeStatus = new global::System.Data.DataColumn("TypeStatus", typeof(string), null, global::System.Data.MappingType.Element);
    617617                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);
    619619                base.Columns.Add(this.columnRESOURCEID);
    620620                this.columnAPPT_MADE_BY = new global::System.Data.DataColumn("APPT_MADE_BY", typeof(string), null, global::System.Data.MappingType.Element);
     
    865865           
    866866            [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) {
    868868                BSDXResourceRow rowBSDXResourceRow = ((BSDXResourceRow)(this.NewRow()));
    869869                object[] columnValuesArray = new object[] {
     
    901901            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    902902            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);
    904904                base.Columns.Add(this.columnRESOURCEID);
    905905                this.columnRESOURCE_NAME = new global::System.Data.DataColumn("RESOURCE_NAME", typeof(string), null, global::System.Data.MappingType.Element);
     
    11521152           
    11531153            [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]));
    11581158                    }
    11591159                    catch (global::System.InvalidCastException e) {
     
    13041304            public BSDXResourceRow BSDXResourceRow {
    13051305                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"]);
    13101310                }
    13111311            }
     
    14971497           
    14981498            [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]));
    15021502                }
    15031503                set {
     
    16091609            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    16101610            public PatientApptsRow[] GetPatientApptsRows() {
    1611                 if ((this.Table.ChildRelations["BSDXResourcePatientAppts"] == null)) {
     1611                if ((this.Table.ChildRelations["FK_BSDXResource_PatientAppts"] == null)) {
    16121612                    return new PatientApptsRow[0];
    16131613                }
    16141614                else {
    1615                     return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["BSDXResourcePatientAppts"])));
     1615                    return ((PatientApptsRow[])(base.GetChildRows(this.Table.ChildRelations["FK_BSDXResource_PatientAppts"])));
    16161616                }
    16171617            }
Note: See TracChangeset for help on using the changeset viewer.