0
How can I make a Select using Entity Framework
, and check if the record exists ?
Example:
txtlogin.text
txtsenha.text
Login table.
- user camp
- password field
valida()
class created to execute the command and by selecting the valida()
he will check if there is the usuario
and senha
via Entity Framework
Can’t you validate before you send it to Entity? Anyway, where’s the code, can you put it? Can’t you use Data Annotations? https://msdn.microsoft.com/en-us/library/gg193959(v=vs.113). aspx
– PauloHDSousa