private void SetDefaultProperty(GXProperties properties, String prop, String value)
 {
     if (!properties.ContainsKey(prop))
     {
         properties.Set(prop, value);
     }
 }
        private void SetEncryptProperty(GXProperties properties, String prop)
        {
            String value = properties.Get(prop);

            if (string.IsNullOrEmpty(value))
            {
                value = "";
            }
            value = CryptoImpl.Encrypt(value);
            properties.Set(prop, value);
        }
Exemple #3
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "WWPBaseObjects\\SecFunctionality");
            metadata.Set("BT", "SecFunctionality");
            metadata.Set("PK", "[ \"SecFunctionalityId\" ]");
            metadata.Set("PKAssigned", "[ \"SecFunctionalityId\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"SecFunctionalityId\" ],\"FKMap\":[ \"SecParentFunctionalityId-SecFunctionalityId\" ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #4
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "BR_Death");
            metadata.Set("BT", "BR_Death");
            metadata.Set("PK", "[ \"BR_DeathID\" ]");
            metadata.Set("PKAssigned", "[ \"BR_DeathID\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"BR_EncounterID\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #5
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "XT_DefineCode");
            metadata.Set("BT", "XT_DefineCode");
            metadata.Set("PK", "[ \"XT_DefineCodeID\" ]");
            metadata.Set("PKAssigned", "[ \"XT_DefineCodeID\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"XT_DefindcodeTypeID\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #6
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "BR_MedicalImaging_Diag");
            metadata.Set("BT", "BR_MedicalImaging_Diag");
            metadata.Set("PK", "[ \"BR_MedicalImaging_DiagID\" ]");
            metadata.Set("PKAssigned", "[ \"BR_MedicalImaging_DiagID\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"BR_MedicalImagingID\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #7
0
 public override GXProperties GetMetadata( )
 {
    GXProperties metadata = new GXProperties() ;
    metadata.Set("Name", "SYS_TenantUser");
    metadata.Set("BT", "SYS_TENANTUSER");
    metadata.Set("PK", "[ \"BAS_TenantTenantCode\",\"UserID\" ]");
    metadata.Set("FKList", "[ { \"FK\":[ \"BAS_TenantTenantCode\" ],\"FKMap\":[  ] },{ \"FK\":[ \"UserID\" ],\"FKMap\":[  ] } ]");
    metadata.Set("AllowInsert", "True");
    metadata.Set("AllowUpdate", "True");
    metadata.Set("AllowDelete", "True");
    return metadata ;
 }
Exemple #8
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "Functionalities");
            metadata.Set("BT", "SecObjectFunctionalities");
            metadata.Set("PK", "[ \"SecFunctionalityId\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"SecFunctionalityId\" ],\"FKMap\":[  ] },{ \"FK\":[ \"SecObjectName\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #9
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "SYS_InstituteUserRole");
            metadata.Set("BT", "SYS_INSTITUTEUSERROLE");
            metadata.Set("PK", "[ \"SYS_InstituteUserRoleUserRoleID\" ]");
            metadata.Set("PKAssigned", "[ \"SYS_InstituteUserRoleUserRoleID\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #10
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "JC_ProviderSecUser");
            metadata.Set("BT", "JC_ProviderSecUser");
            metadata.Set("PK", "[ \"SecUserId\",\"JC_ProviderID\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"JC_ProviderID\" ],\"FKMap\":[  ] },{ \"FK\":[ \"SecUserId\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #11
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "SYS_InstituteUser");
            metadata.Set("BT", "SYS_INSTITUTEUSER");
            metadata.Set("PK", "[ \"InstituteCode\",\"UserID\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"InstituteCode\" ],\"FKMap\":[  ] },{ \"FK\":[ \"UserID\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #12
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "WWPBaseObjects\\SecUserRole");
            metadata.Set("BT", "SecUserRole");
            metadata.Set("PK", "[ \"SecUserId\",\"SecRoleId\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"SecRoleId\" ],\"FKMap\":[  ] },{ \"FK\":[ \"SecUserId\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #13
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "BR_PatientReTenant");
            metadata.Set("BT", "BR_PatientReTenant");
            metadata.Set("PK", "[ \"BR_Information_ID\",\"BAS_TenantTenantCode\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"BAS_TenantTenantCode\" ],\"FKMap\":[  ] },{ \"FK\":[ \"BR_Information_ID\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #14
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "WWPBaseObjects\\SecObject");
            metadata.Set("BT", "SecObject");
            metadata.Set("PK", "[ \"SecObjectName\" ]");
            metadata.Set("Levels", "[ \"Functionalities\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #15
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "SYS_RolePermission");
            metadata.Set("BT", "SYS_ROLEPERMISSION");
            metadata.Set("PK", "[ \"SYS_RolePermissionRoleID\",\"SYS_RolePermissionPermissionCode\" ]");
            metadata.Set("PKAssigned", "[ \"SYS_RolePermissionRoleID\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #16
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "SYS_TenantUserAccess");
            metadata.Set("BT", "SYS_TENANTUSERACCESS");
            metadata.Set("PK", "[ \"SYS_TenantUserAccessUserAccessID\" ]");
            metadata.Set("PKAssigned", "[ \"SYS_TenantUserAccessUserAccessID\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #17
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "SYS_Log");
            metadata.Set("BT", "SYS_LOG");
            metadata.Set("PK", "[ \"SYS_LogLogID\" ]");
            metadata.Set("PKAssigned", "[ \"SYS_LogLogID\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #18
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "SYS_UserRole");
            metadata.Set("BT", "SYS_USERROLE");
            metadata.Set("PK", "[ \"UserID\",\"RoleID\" ]");
            metadata.Set("FKList", "[ { \"FK\":[ \"RoleID\" ],\"FKMap\":[  ] },{ \"FK\":[ \"UserID\" ],\"FKMap\":[  ] } ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #19
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "BR_Information");
            metadata.Set("BT", "BR_Information");
            metadata.Set("PK", "[ \"BR_Information_ID\" ]");
            metadata.Set("PKAssigned", "[ \"BR_Information_ID\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #20
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "WWPBaseObjects\\SecRole");
            metadata.Set("BT", "SecRole");
            metadata.Set("PK", "[ \"SecRoleId\" ]");
            metadata.Set("PKAssigned", "[ \"SecRoleId\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #21
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "BAS_Institute");
            metadata.Set("BT", "BAS_INSTITUTE");
            metadata.Set("PK", "[ \"InstituteCode\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #22
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "SYS_SerialNumber");
            metadata.Set("BT", "SYS_SERIALNUMBER");
            metadata.Set("PK", "[ \"SerialKey\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #23
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "BAS_DataPackage");
            metadata.Set("BT", "BAS_DATAPACKAGE");
            metadata.Set("PK", "[ \"DataPackage\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #24
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "view_lastest_patient_info");
            metadata.Set("BT", "VIEW_LASTEST_PATIENT_INFO");
            metadata.Set("PK", "[ \"VIEW_LPI_BR_Information_ID\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #25
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "SYS_Database");
            metadata.Set("BT", "SYS_DATABASE");
            metadata.Set("PK", "[ \"DatabaseID\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }
Exemple #26
0
        public override GXProperties GetMetadata( )
        {
            GXProperties metadata = new GXProperties();

            metadata.Set("Name", "WWPBaseObjects\\UserCustomizations");
            metadata.Set("BT", "UserCustomizations");
            metadata.Set("PK", "[ \"UserCustomizationsId\",\"UserCustomizationsKey\" ]");
            metadata.Set("AllowInsert", "True");
            metadata.Set("AllowUpdate", "True");
            metadata.Set("AllowDelete", "True");
            return(metadata);
        }