Ejemplo n.º 1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:PrintRequestModel" /> instances.
        /// </summary>
        /// <param name="sendToProleId">
        ///     The value which identifies the <see cref="!:PrintRequestModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:PrintRequestModel" /> instances that match the specified <paramref name="sendToProleId" />.
        /// </returns>
        public static IEnumerable <Consensus.Document.PrintRequest> FetchAllBySendToProleId(System.String sendToProleId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(PrintRequest.FetchAllBySendToProleId(site, sendToProleId));
        }
Ejemplo n.º 2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(PrintRequest.GetTableName(site));
        }
Ejemplo n.º 3
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:PrintRequestModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:PrintRequestModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Document.PrintRequest> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(PrintRequest.FetchById(site, id));
        }
Ejemplo n.º 5
0
        /// <summary>
        ///     Creates a new <see cref="!:PrintRequestModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:PrintRequestModel" /> instance.
        /// </returns>
        public static Consensus.Document.PrintRequest Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(PrintRequest.Create(site));
        }