Exemplo n.º 1
0
 public AuthorityEmployment_Speed(NetaDAL.authority_employment_syncspeed_rankings table)
 {
     ID                = table.authority_id;
     Authority         = table.authority_name;
     SyncSpeed         = table.sync_speed;
     EmploymentRate    = table.employment_rate;
     SpeedRanking      = table.speed_ranking;
     EmploymentRanking = table.employment_ranking;
 }
Exemplo n.º 2
0
    public static AuthorityEmployment_Speed CreateAuthEmploymentSpeedFromTable(authority_employment_syncspeed_rankings table)
    {
        AuthorityEmployment_Speed ret = new AuthorityEmployment_Speed();
        ret.ID = table.authority_id;
        ret.Authority = table.authority_name;
        ret.EmploymentRate = table.employment_rate;
        ret.SyncSpeed = table.sync_speed;
        ret.EmploymentRate = table.employment_rate;
        ret.SpeedRanking = table.speed_ranking;

        return ret;
    }