dapper-rainbow-mysql
dapper-rainbow-mysql copied to clipboard
another issue about class:Table<T, TId>
when i make a property with type: Table<T, TId> in Database<T>...I found that can't work.. the Table<T,TId> property of Database<T> will be null at runtime.... Is the model key can't be other type except long?
i have tested on my side, and confirm the database property is set at runtime when using table property definition using other type
class Db : Database<Db>
{
Table<Profile, double> MyTable { get; set; }
}
type a correctly set, please provide minimal test to reproduce the problem