/// <summary> /// Returns the phrase to use to get the sql format of a type. Currently /// only used with Velocity generator. /// </summary> /// <param name="field">Field whose sql format is needed.</param> /// <returns>String for converting the field to sql format (like artProjectId.DBValue)</returns> public String GetSqlConversion(PropertyElement field) { return(String.Format(field.Type.ConvertToSqlTypeFormat, "", field.GetFieldFormat(), "", "", field.GetFieldFormat())); }
/// <summary> /// Returns the phrase to use to get the sql format of a type. Currently /// only used with Velocity generator. /// </summary> /// <param name="field">Field whose sql format is needed.</param> /// <returns>String for converting the field to sql format (like artProjectId.DBValue)</returns> public String GetSqlConversion(PropertyElement field) { return(GetSqlConversion(field, field.GetFieldFormat())); }