public void DateTime2Column(int length) { var type = "datetime2"; if (length > 0) { type += $"({length})"; } CreateTable(type, TestTableCreator.GetDateTimeSqlValue(_dbContext)); }
public void DateTimeColumn() { CreateTable("datetime", TestTableCreator.GetDateTimeSqlValue(_dbContext)); }