예제 #1
0
        /// <summary>
        ///     Creates a new <see cref="!:DataimportsModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:DataimportsModel" /> instance.
        /// </returns>
        public static Consensus.Other.Dataimports Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(Dataimports.FetchById(site, id));
        }
예제 #3
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Dataimports.GetTableName(site));
        }
예제 #4
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:DataimportsModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:DataimportsModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Other.Dataimports> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Dataimports.FetchAll(site));
        }