コード例 #1
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:GiftaidModel" /> instances.
        /// </summary>
        /// <param name="pnIdId">
        ///     The value which identifies the <see cref="!:GiftaidModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:GiftaidModel" /> instances that match the specified <paramref name="pnIdId" />.
        /// </returns>
        public static IEnumerable <Consensus.Contact.Giftaid> FetchAllByPnIdId(System.String pnIdId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Giftaid.FetchAllByPnIdId(site, pnIdId));
        }
コード例 #2
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Giftaid.GetTableName(site));
        }
コード例 #3
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:GiftaidModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:GiftaidModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Contact.Giftaid> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Giftaid.FetchById(site, id));
        }
コード例 #5
0
        /// <summary>
        ///     Creates a new <see cref="!:GiftaidModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:GiftaidModel" /> instance.
        /// </returns>
        public static Consensus.Contact.Giftaid Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Giftaid.Create(site));
        }