How can I make a Select using Entity Framework
, and check if the registry exists?
Example:
txtlogin.text
txtsenha.text
Login table.
- user field
- password field
valida()
class created to execute the command and selecting valida()
it will check if usuario
and senha
exists via Entity Framework