예제 #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));
        }