コード例 #1
0
        public static IEnumerable <Consensus.Other.Batch> FetchAllByBatchDiIdId(System.Nullable <System.Int32> batchDiIdId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Batch.FetchAllByBatchDiIdId(site, batchDiIdId));
        }
コード例 #2
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:BatchModel" /> instances.
        /// </summary>
        /// <param name="sellingCompanyId">
        ///     The value which identifies the <see cref="!:BatchModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:BatchModel" /> instances that match the specified <paramref name="sellingCompanyId" />.
        /// </returns>
        public static IEnumerable <Consensus.Other.Batch> FetchAllBySellingCompanyId(System.String sellingCompanyId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Batch.FetchAllBySellingCompanyId(site, sellingCompanyId));
        }
コード例 #3
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Batch.FetchById(site, id));
        }
コード例 #5
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:BatchModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:BatchModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Other.Batch> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Batch.FetchAll(site));
        }
コード例 #6
0
        /// <summary>
        ///     Creates a new <see cref="!:BatchModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:BatchModel" /> instance.
        /// </returns>
        public static Consensus.Other.Batch Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Batch.Create(site));
        }