Beispiel #1
0
        /// <summary>
        /// Returns delete query for synchronized capmaign participants.
        /// </summary>
        /// <param name="userConnection">An instance of <see cref="UserConnection"/>.</param>
        /// <returns>Delete query for synchronized campaign participant.</returns>
        protected virtual Delete GetDeleteSynchronizedQuery(UserConnection userConnection)
        {
            var delete = new Delete(userConnection)
                         .From(CampaignParticipantOpTableName);

            delete.AddCondition(ParticipantsToSyncSelect.Condition, LogicalOperation.And);
            return(delete);
        }