Exemple #1
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Communications.GetTableName(site));
        }
Exemple #2
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:CommunicationsModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:CommunicationsModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Contact.Communications> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Communications.FetchById(site, id));
        }
Exemple #4
0
        /// <summary>
        ///     Creates a new <see cref="!:CommunicationsModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:CommunicationsModel" /> instance.
        /// </returns>
        public static Consensus.Contact.Communications Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Communications.Create(site));
        }