Hi!
I'm just starting developing with ADO.NET Entity Framework and I don't know how I would write this:
ClientEntities clientContext = new ClientEntities();
ObjectQuery clientQuery =
clientContext.Client.Where("it.email = @email AND it.password = @password",
new ObjectParameter("email", "[email protected]"),
new ObjectParameter("password", "xAdxar12s"));
Console.WriteLine(clientQuery.Count());
Console.ReadLine();
And it works!
But, what's this?
"it.email = @email AND it.password = @password"
Where can I learn this "SQL syntax"? I don't know why I have to use it.email or the meaning of SELECT VALUE. It is "Entity SQL"?
Thanks!