Exemplo n.º 1
0
        public virtual object ToSqlValue(object item)
        {
            var  instanceValue = GetEntityValue(item);
            bool needToUpdateInstance;
            var  result = FieldProperties.ToSqlValue(instanceValue, out needToUpdateInstance);

            if (needToUpdateInstance)
            {
                SetEntityValue(item, result);
            }
            return(result);
        }