示例#1
0
    /// <summary>
    /// Returns string with conversions ids
    /// </summary>
    private string GetConversions()
    {
        var conversionIds =
            ConversionCampaignInfoProvider.GetConversionCampaigns()
            .Columns("ConversionID")
            .WhereEquals("CampaignID", campaignID)
            .Select(x => x.ConversionID);

        return(TextHelper.Join(";", conversionIds));
    }
示例#2
0
    /// <summary>
    /// Returns string with campaign ids.
    /// </summary>
    private string GetConversions()
    {
        DataSet ds = ConversionCampaignInfoProvider.GetConversionCampaigns("ConversionID = " + conversionID, null, 0, "CampaignID");

        if (!DataHelper.DataSourceIsEmpty(ds))
        {
            return(TextHelper.Join(";", SqlHelperClass.GetStringValues(ds.Tables[0], "CampaignID")));
        }

        return(String.Empty);
    }