/// <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)); }
public static System.String GetTableName() { ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite]; return(SaqQuery.GetTableName(site)); }
/// <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)); }
/// <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)); }
/// <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)); }