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

            return(BatchXref.FetchAllByBatchId(site, batchId));
        }
Exemplo n.º 2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

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

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

            return(BatchXref.Create(site));
        }