Improved MySqlManagedConnection retry logic. Added new MySqlRowIndex attribute to specify the indexes for a given row. Improved documentation and the example program. Bumped version number to 1.0.5

This commit is contained in:
2023-01-31 16:58:19 -08:00
parent 74ffdebee3
commit c4c39bfc46
6 changed files with 224 additions and 71 deletions

View File

@ -6,6 +6,8 @@ namespace MontoyaTech.MySqlPlus.Example
public class Program
{
[MySqlRow("cars")]
[MySqlRowIndex("make_model", "model", "year")]
[MySqlRowIndex("year", "year")]
public class Car
{
[MySqlColumn(Id = true, Name = "id", PrimaryKey = true, AutoIncrement = true, Nullable = false)]