Esempio n. 1
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:Communications_XrefModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:Communications_XrefModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Contact.Communications_Xref> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Communications_Xref.FetchAll(site));
        }
Esempio n. 2
0
        /// <summary>
        ///     Creates a new <see cref="!:Communications_XrefModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:Communications_XrefModel" /> instance.
        /// </returns>
        public static Consensus.Contact.Communications_Xref Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Communications_Xref.Create(site));
        }
Esempio n. 3
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Communications_Xref.GetTableName(site));
        }
Esempio n. 4
0
        /// <summary>
        ///     Retrieves a collection of <see cref="!:Communications_XrefModel" /> instances.
        /// </summary>
        /// <param name="communicationId">
        ///     The value which identifies the <see cref="!:Communications_XrefModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:Communications_XrefModel" /> instances that match the specified <paramref name="communicationId" />.
        /// </returns>
        public static IEnumerable <Consensus.Contact.Communications_Xref> FetchAllByCommunicationId(System.Int64 communicationId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Communications_Xref.FetchById(site, id));
        }