Changed to linq to sql.