public static DataTable GetNewSpeciesFactTable(WebServiceContext context) { WebSpeciesFact speciesFact; List <WebSpeciesFact> speciesFacts; // Create new species fact with random values. speciesFact = GetOneSpeciesFact(context); speciesFact.FactorId = 10; speciesFact.FieldValue1 = 10; speciesFact.IsFieldValue1Specified = true; speciesFact.IndividualCategoryId = 2; speciesFact.TaxonId = 209210; speciesFacts = new List <WebSpeciesFact>(); speciesFacts.Add(speciesFact); return(SpeciesFactManager.GetSpeciesFactTable(context, speciesFacts, DateTime.Now, "")); }