protected override EmployeeInfo Parse()
 {
     return(new EmployeeInfo
     {
         ID = ToInt(ID),
         EmployeeNumber = EmployeeNumber.ToString(),
         FirstName = FirstName.ToString(),
         LastName = LastName.ToString(),
         MI = MI.ToString(),
         Email = Email.ToString(),
         Password = Password.ToString(),
         Contact = Contact.ToString(),
         Address = Address.ToString(),
         Birthday = Birthday.ToString(),
         Gender = Gender.ToString(),
         Religion = Religion.ToString(),
         Nationality = Nationality.ToString(),
         Birthplace = Birthplace.ToString(),
         CivilStatus = CivilStatus.ToString(),
         EmployeeStatusID = ToInt(EmployeeStatusID),
         DateHired = DateHired.ToString(),
         DateCreated = DateCreated.ToString(),
         DatedUpdated = DatedUpdated.ToString(),
         DatedDeleted = DatedDeleted.ToString(),
         RoleID = ToInt(RoleID),
         EmployeeStatus = EmployeeStatus.ToString(),
         RoleStatus = RoleStatus.ToString()
     });
 }
예제 #2
0
파일: Stats.cs 프로젝트: Monaghar/ToonWorld
 public override string ToString()
 {
     return(Acrobatics.ToString() + ' ' +
            AnimalHandling.ToString() + ' ' +
            Arcana.ToString() + ' ' +
            Athletics.ToString() + ' ' +
            Deception.ToString() + ' ' +
            History.ToString() + ' ' +
            Insight.ToString() + ' ' +
            Intimidation.ToString() + ' ' +
            Investigation.ToString() + ' ' +
            Medicine.ToString() + ' ' +
            Nature.ToString() + ' ' +
            Perception.ToString() + ' ' +
            Performance.ToString() + ' ' +
            Persusion.ToString() + ' ' +
            Religion.ToString() + ' ' +
            SleightOfHand.ToString() + ' ' +
            Stealth.ToString() + ' ' +
            Survival.ToString());
 }
예제 #3
0
    public override string ToString()
    {
        return("Wealth=" + Wealth.ToString() + "\n" +
               "Wealth=" + Police.ToString() + "\n" +
               "Wealth=" + Heterogenity.ToString() + "\n" +
               "Wealth=" + Pollution.ToString() + "\n" +
               "Wealth=" + Corruption.ToString() + "\n\n" +

               "Wealth=" + Infrastructure.ToString() + "\n" +
               "Wealth=" + HealthServices.ToString() + "\n" +
               "Wealth=" + Crime.ToString() + "\n" +
               "Wealth=" + Religion.ToString() + "\n" +
               "Wealth=" + Food.ToString() + "\n" +
               "Wealth=" + Cleanness.ToString() + "\n" +
               "Wealth=" + Employment.ToString() + "\n" +
               "Wealth=" + Information.ToString() + "\n\n" +

               "Wealth=" + Nourishment.ToString() + "\n" +
               "Wealth=" + Health.ToString() + "\n" +
               "Wealth=" + Shelter.ToString() + "\n" +
               "Wealth=" + Trust.ToString() + "\n" +
               "Wealth=" + Safety.ToString());
    }