Beispiel #1
0
        static cProject_Base()
        {
            // Register the class

            cProperty[] aProperties = new cProperty[10];

            aProperties[0] = new cProperty("sProjectName", "Project Name", "", enDataType.String, 100, false, false);
            aProperties[1] = new cProperty("objClient", "Client", "", enDataType.ObjectReference, 0, false, false);
            aProperties[2] = new cProperty("objExternalProjectHead", "External Project Head", "", enDataType.ObjectReference, 0, false, false);
            aProperties[3] = new cProperty("iInternalHead", "Internal Head", "", enDataType.Int32, 0, false, false);
            aProperties[4] = new cProperty("sDescription", "Description", "", enDataType.String, 0, false, false);
            aProperties[5] = new cProperty("dtStartDate", "Start Date", "", enDataType.DateTime, 0, false, false);
            aProperties[6] = new cProperty("dtEndDate", "End Date", "", enDataType.DateTime, 0, false, false);
            aProperties[7] = new cProperty("objStatus", "Status", "", enDataType.ObjectReference, 0, false, false);
            aProperties[8] = new cProperty("sCompletion", "Completion", "", enDataType.String, 100, false, false);
            aProperties[9] = new cProperty("bIsActive", "Is Active", "", enDataType.Boolean, 0, false, false);

            m_oClass = new cClass("cProject", "HRIMS", "Project", "", enClassType.Standard, true, aProperties, enStorageType.MSSQL);

            cClass.RegisterClass(m_oClass);
        }
Beispiel #2
0
        static cEmpEducationDetail_Base()
        {
            // Register the class

            cProperty[] aProperties = new cProperty[11];

            aProperties[0]  = new cProperty("sInstituteName", "Institute Name", "", enDataType.String, 512, false, false);
            aProperties[1]  = new cProperty("sHigestDegree", "Higest Degree", "", enDataType.String, 100, false, false);
            aProperties[2]  = new cProperty("sUniversity", "University", "", enDataType.String, 100, false, false);
            aProperties[3]  = new cProperty("sDegreeType", "Degree Type", "", enDataType.String, 100, false, false);
            aProperties[4]  = new cProperty("sPassingYear", "Passing Year", "", enDataType.String, 100, false, false);
            aProperties[5]  = new cProperty("fPercentage", "Percentage", "", enDataType.Float, 0, false, false);
            aProperties[6]  = new cProperty("sSpecialization", "Specialization", "", enDataType.String, 100, false, false);
            aProperties[7]  = new cProperty("sCertification", "Certification", "", enDataType.String, 100, false, false);
            aProperties[8]  = new cProperty("objEmpLogin", "Emp Login", "", enDataType.ObjectReference, 0, false, false);
            aProperties[9]  = new cProperty("bIsActive", "Is Active", "", enDataType.Boolean, 0, false, false);
            aProperties[10] = new cProperty("sEducationLevel", "Education Level", "", enDataType.String, 512, false, false);

            m_oClass = new cClass("cEmpEducationDetail", "HRIMS", "Emp Education Detail", "", enClassType.Standard, true, aProperties, enStorageType.MSSQL);

            cClass.RegisterClass(m_oClass);
        }