Beispiel #1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:SaqQueryModel" /> instances.
        /// </summary>
        /// <param name="managerId">
        ///     The value which identifies the <see cref="!:SaqQueryModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:SaqQueryModel" /> instances that match the specified <paramref name="managerId" />.
        /// </returns>
        public static IEnumerable <Consensus.Marketing.SaqQuery> FetchAllByManagerId(System.String managerId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SaqQuery.FetchAllByManagerId(site, managerId));
        }
Beispiel #2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SaqQuery.GetTableName(site));
        }
Beispiel #3
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:SaqQueryModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:SaqQueryModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Marketing.SaqQuery> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SaqQuery.FetchAll(site));
        }
Beispiel #4
0
        /// <summary>
        ///     Retrieves a specific <see cref="!:SaqQueryModel" /> instance.
        /// </summary>
        /// <param name="id">
        ///     The unique value which distinctly identifies the <see cref="!:SaqQueryModel" /> instance to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:SaqQueryModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found.
        /// </returns>
        public static Consensus.Marketing.SaqQuery FetchById(System.Int64 id)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SaqQuery.FetchById(site, id));
        }
Beispiel #5
0
        /// <summary>
        ///     Creates a new <see cref="!:SaqQueryModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:SaqQueryModel" /> instance.
        /// </returns>
        public static Consensus.Marketing.SaqQuery Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(SaqQuery.Create(site));
        }