public ActionResult GetStudentsByResidentialType(ResidentialType residentialType = ResidentialType.InState) { _logger.LogInformation($"query {residentialType} students"); if (residentialType == ResidentialType.International) { _logger.LogInformation("found 10000 students."); } return(Ok()); }
// Add building Component to the gameObject public static Residential CreateComponent(GameObject where, ResidentialType parameter1, ResidentialSize parameter2, ResidentialVariation parameter3) { Residential myC = where.AddComponent <Residential>(); myC.residential_type = parameter1; myC.residential_size = parameter2; myC.residential_variation = parameter3; return(myC); }
public String GetResidentialTypeName() { String result = null; if (ResidentialType.HasText()) { var sqlString = "select PropertyType from fly_PropertyType where PropertyTypeID=" + ResidentialType; using (var dataObj = new clsData()) { dataObj.strSql = sqlString; var dt = dataObj.GetDataTable(); if (dt.Rows.Count > 0) { result = dt.Rows[0]["PropertyType"] as String; } } } return(result); }