Ejemplo n.º 1
0
        internal virtual string CreateSqlString(CommandFactory factory, bool isFullName, CreateSqlState state)
        {
            if (isFullName)
            {
                if (_aliasTableName != null)
                {
                    return(factory.CreateFullDataFieldSql(_aliasTableName, FieldName));
                }

                return(factory.CreateFullDataFieldSql(TableMapping, FieldName, state));
            }

            return(factory.CreateDataFieldSql(FieldName));
        }