Пример #1
0
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(WorkflowRecType.GetTableName(site));
        }
Пример #2
0
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:WorkflowRecTypeModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:WorkflowRecTypeModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Other.WorkflowRecType> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

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

            return(WorkflowRecType.FetchById(site, id));
        }
Пример #4
0
        /// <summary>
        ///     Creates a new <see cref="!:WorkflowRecTypeModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:WorkflowRecTypeModel" /> instance.
        /// </returns>
        public static Consensus.Other.WorkflowRecType Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(WorkflowRecType.Create(site));
        }