I have my ormlite config as follows
JsConfig.DateHandler = DateHandler.ISO8601;
JsConfig.AlwaysUseUtc = true;
OrmLiteConfig.CommandTimeout = 20;
SqlServerDialect.Provider.RegisterConverter<TimeSpan>(new SqlServerTimeConverter { Precision = 7});
var dates = OrmLiteConfig.DialectProvider.GetDateTimeConverter();
dates.DateStyle = DateTimeKind.Utc;
var factory = new OrmLiteConnectionFactory(connection, SqlServerDialect.Provider);
When I’m using db.CreateTableIfNotExists, I was expecting the timespan properties to be to be of the column type time(7) but they are bigInt. Is there anything I’m doing wrong?