public void MapDataFields(System.Data.DataRow currentRow)
        {
            serviceId = (Int64)currentRow["ServiceId"];

            serviceName = (String)currentRow["ServiceName"];

            serviceType = (Mercury.Server.Core.MedicalServices.Enumerations.MedicalServiceType)(Int32) currentRow["ServiceType"];

            description = (String)currentRow["ServiceDescription"];

            enabled = (Boolean)currentRow["Enabled"];

            visible = (Boolean)currentRow["Visible"];

            lastPaidDate = (DateTime)currentRow ["LastPaidDate"];



            setType = (Core.MedicalServices.Enumerations.ServiceSetType)((Int32)currentRow["SetType"]);

            withinDays = (Int32)currentRow["SetWithinDays"];


            createAccountInfo.MapDataFields(currentRow, "Create");

            modifiedAccountInfo.MapDataFields(currentRow, "Modified");

            return;
        }
示例#2
0
        public void MapDataFields(System.Data.DataRow currentRow)
        {
            careLevelId = (Int64)currentRow["CareLevelId"];

            careLevelName = (String)currentRow["CareLevelName"];

            description = (String)currentRow["CareLevelDescription"];

            enabled = (Boolean)currentRow["Enabled"];

            visible = (Boolean)currentRow["Visible"];

            createAccountInfo.MapDataFields(currentRow, "Create");

            modifiedAccountInfo.MapDataFields(currentRow, "Modified");

            return;
        }
示例#3
0
        public void MapDataFields(System.Data.DataRow currentRow)
        {
            formId = (Int64)currentRow["FormId"];

            this.formType = Mercury.Server.Core.Forms.Enumerations.FormType.Template;

            formDescription = (String)currentRow["FormDescription"];

            createAccountInfo.MapDataFields(currentRow, "Create");

            modifiedAccountInfo.MapDataFields(currentRow, "Modified");

            controlName = (String)currentRow["ControlName"];

            controlTitle = (String)currentRow["ControlTitle"];

            enabled = (Boolean)currentRow["Enabled"];

            visible = (Boolean)currentRow["Visible"];

            return;
        }