Click here to Skip to main content
15,891,513 members
Articles / Web Development / ASP.NET

Open Source Extensible Enterprise n-tier Application Framework with Multilayered Architecture

Rate me:
Please Sign up or sign in to vote.
4.67/5 (2 votes)
3 Dec 2010MIT3 min read 37K   770   41  
Xenta architecture overview
using System;
using SiberTek.Xenta.Data.Entities;
using SiberTek.Xenta.Data.Entities.Collections;
using SiberTek.Xenta.Enums;
using System.Collections.Generic;

namespace SiberTek.Xenta.Data.Providers
{
    /// <summary>
    /// Defines forum topic data provider methods
    /// </summary>
    public interface IForumTopicDataProvider : IDataProvider
    {
        #region Methods
        #region C
        bool InsertForumTopic(int forumID, int authorID, string title, string description, ForumTopicType type, bool isActive, DateTime createdOn, DateTime updatedOn, out int topicID);
        bool InsertForumTopicPublicationMapping(int topicID, int publicationID);
        bool InsertForumTopicRoleMapping(int topicID, int roleID);
        #endregion

        #region R
        ForumTopicData GetForumTopic(int topicID);
        ForumTopicData GetForumTopicByPublicationID(int publicationID);
        ForumTopicDataCollection GetAllForumTopics(string searchTerm, int? forumID, int? authorID, ForumTopicType? type, DateTime? createdOnStart, DateTime? createdOnEnd, bool showHidden, ForumTopicOrderBy orderBy, int startIndex, int count, out int totalCount);
        bool ForumTopicRoleMappingExists(int topicID, int roleID);
        #endregion

        #region U
        bool UpdateForumTopic(int topicID, int forumID, int authorID, string title, string description, ForumTopicType type, bool isActive, DateTime createdOn, DateTime updatedOn);
        #endregion

        #region D
        bool DeleteForumTopic(int topicID);
        bool DeleteForumTopicPublicationMapping(int topicID, int? publicationID);
        bool DeleteForumTopicRoleMapping(int topicID, int roleID);
        #endregion
        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions