Our profile on the NuGet library brokenegg.io
Use the package manager NuGet to install MateSQL.
nuget install brokenegg.matesqlCreating a class and instantiating Autenticable To any other classes extends from MateSQL.DBModel
public class User : MateSQL.Autenticable
{
public String Name { get; set; }
public String Email { get; set; }
public String Password { get; set; }
}DBConfig.Database = "database";
DBConfig.Password = "password";
DBConfig.User = "username";
DBConfig.Server = "serverip";User User = new User();
User.SetDbConfig(Conf);List<User> users = User.Select<User>();User user = User.Autenticate<User>(txtUsername.Text, txtPassword.Text);User.Name = "Jose";
User.Email = "[email protected]";
User.Password = "secret";
User.Insert();Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
- Port from .Net Framework 4.5.1 to DotNet 5. Planned to v5.0.0;