/// <summary> /// The transform column precision. /// </summary> /// <param name="col"> /// The col. /// </param> /// <returns> /// The <see cref="string" />. /// </returns> public string TransformColumnPrecision(Column col, IDriver driver = null) { int precision = driver?.CheckPrecision(col) ?? col.Precision; if (!col.InValidPrecisionGeneration && (col.Precision > 0 || col.Scale > 0)) { return($".HasPrecision({precision}, {col.Scale})"); } if (!col.InValidPrecisionGeneration && col.DomainDataType == DomainDataType.DateTime) { return($".HasPrecision({precision})"); } return(string.Empty); }