how I can fetch all the records that have a Birth date bigger than (1/1/2000) and age <15 and set their amount to 200 By c# visual studio. My code is wrong :
private void button7_Click(object sender, EventArgs e)
{
// Retrieve record
bool RetrieveRecords = true;
if (date=="1/5/2009" && new_age<7)
{
Console.WriteLine("Child Birthday is:");
String answer = Console.ReadLine();
RetrieveRecord = (answer.Fetchby(date)&& answer.new_age || answer == String);
}
else (RetrieveRecord)
{
_service.Retrieve("new_child", g);
Console.WriteLine("Entity record(s) have been fetched.");
}