Working on initial project structure.

This commit is contained in:
2023-01-27 11:34:31 -08:00
parent a3d6749271
commit 41cd87b2f4
15 changed files with 1341 additions and 0 deletions

View File

@ -0,0 +1,34 @@
using System;
namespace MontoyaTech.MySqlPlus.Example
{
public class Program
{
public class Car : MySqlRow
{
[MySqlRowId]
[MySqlColumn]
public ulong Id = 0;
[MySqlColumn("make")]
[MySqlColumnAlias("Make")]
public string Make = null;
[MySqlColumn("mode")]
public string Model = null;
[MySqlColumn("dateCreated", typeof(DateTime2UnixConverter))]
public DateTime DateCreated = DateTime.UtcNow;
}
public class DateTime2UnixConverter
{
}
public static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
}