dapper-rainbow-mysql icon indicating copy to clipboard operation
dapper-rainbow-mysql copied to clipboard

another issue about class:Table<T, TId>

Open hhq365 opened this issue 7 years ago • 1 comments

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?

hhq365 avatar May 17 '17 02:05 hhq365

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

antonheryanto avatar Aug 27 '17 16:08 antonheryanto