Exemple #1
0
        public virtual SqlizedValue Sqlize()
        {
            object val = ValueObject;

            if (IsTextField && CurrentAutoFixBaseUrl && ValueObject != null)
            {
                string stringValue = val.ToString();
                val = Fmt.InsertWebsiteBaseUrlPathMarkers(stringValue);
            }
            return(Sql.Sqlize(val, Type));
        }
Exemple #2
0
        public override SqlizedValue Sqlize()
        {
            object val = Value;

            if (IsTextField && CurrentAutoFixBaseUrl && val != null)
            {
                string stringValue = val.ToString();
                val = Fmt.InsertWebsiteBaseUrlPathMarkers(stringValue);
            }
            return(SqlStringBuilder.Sqlize(val));
        }