예제 #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));
        }
예제 #2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(BatchXref.GetTableName(site));
        }
예제 #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));
        }
예제 #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));
        }
예제 #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));
        }