IEverestCmsDataContext.cs :  » Content-Management-Systems-CMS » Kooboo » Everest » CmsServices » Models » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » Content Management Systems CMS » Kooboo 
Kooboo » Everest » CmsServices » Models » IEverestCmsDataContext.cs
/*
Kooboo is a content management system based on ASP.NET MVC framework. Copyright 2009 Yardi Technology Limited.

This program is free software: you can redistribute it and/or modify it under the terms of the
GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.
If not, see http://www.kooboo.com/gpl3/.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data.Common;

using Everest.Library.Data.Rule;


namespace Everest.CmsServices.Models{
    public interface IEverestCmsDataContext : IDisposable
    {
        System.Data.Objects.ObjectContext ObjectContext { get; }

        #region Query
        global::System.Data.Objects.ObjectQuery<aspnet_Applications> aspnet_Applications { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_Membership> aspnet_Membership { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_Paths> aspnet_Paths { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_PersonalizationAllUsers> aspnet_PersonalizationAllUsers { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUser { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_Profile> aspnet_Profile { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_Roles> aspnet_Roles { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_SchemaVersions> aspnet_SchemaVersions { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_Users> aspnet_Users { get; }
        global::System.Data.Objects.ObjectQuery<aspnet_WebEvent_Events> aspnet_WebEvent_Events { get; }
        global::System.Data.Objects.ObjectQuery<Cms_BinaryContent> Cms_BinaryContent { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Column> Cms_Column { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Content> Cms_Content { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ContentFile> Cms_ContentFile { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ContentTemplate> Cms_ContentTemplate { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ContentTemplateInPageHolder> Cms_ContentTemplateInPageHolder { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ContentTemplateParameters> Cms_ContentTemplateParameters { get; }
        global::System.Data.Objects.ObjectQuery<Cms_DataRule> Cms_DataRule { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Folder> Cms_Folder { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Page> Cms_Page { get; }
        global::System.Data.Objects.ObjectQuery<Cms_PageTemplateHolders> Cms_PageTemplateHolders { get; }
        global::System.Data.Objects.ObjectQuery<Cms_PageTemplate> Cms_PageTemplate { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ParameterValues> Cms_ParameterValues { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Permission> Cms_Permission { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Plugin> Cms_Plugin { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Properties> Cms_Properties { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Schedule> Cms_Schedule { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ScheduleParameter> Cms_ScheduleParameter { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Schema> Cms_Schema { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Validator> Cms_Validator { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ValidatorGroup> Cms_ValidatorGroup { get; }
        global::System.Data.Objects.ObjectQuery<Cms_TextResource> Cms_TextResource { get; }
        global::System.Data.Objects.ObjectQuery<Cms_SchemaFunction> Cms_SchemaFunction { get; }
        global::System.Data.Objects.ObjectQuery<Cms_Workflow> Cms_Workflow { get; }
        global::System.Data.Objects.ObjectQuery<Cms_WorkflowSequence> Cms_WorkflowSequence { get; }
        global::System.Data.Objects.ObjectQuery<Cms_WorkflowHistory> Cms_WorkflowHistory { get; }
        global::System.Data.Objects.ObjectQuery<Cms_CustomerForm> Cms_CustomerForm { get; }
        global::System.Data.Objects.ObjectQuery<Cms_CustomerFormValues> Cms_CustomerFormValues { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ContentInFolder> Cms_ContentInFolder { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ModulePermission> Cms_ModulePermission { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ModuleSetting> Cms_ModuleSetting { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ContentReferencing> Cms_ContentReferencing { get; }
        global::System.Data.Objects.ObjectQuery<Cms_CustomError> Cms_CustomError { get; }
        global::System.Data.Objects.ObjectQuery<Cms_SearchSetting> Cms_SearchSetting { get; }
        global::System.Data.Objects.ObjectQuery<Cms_IndexTrigger> Cms_IndexTrigger { get; }
        global::System.Data.Objects.ObjectQuery<Cms_ModuleApplication> Cms_ModuleApplication { get; }
        global::System.Data.Objects.ObjectQuery<Cms_RssChannel> Cms_RssChannel { get; }
        #endregion

        #region Add
        void AddObject(string entitySetName, object entity);

        void AddToaspnet_Applications(aspnet_Applications aspnet_Applications);
        void AddToaspnet_Membership(aspnet_Membership aspnet_Membership);
        void AddToaspnet_Paths(aspnet_Paths aspnet_Paths);
        void AddToaspnet_PersonalizationAllUsers(aspnet_PersonalizationAllUsers aspnet_PersonalizationAllUsers);
        void AddToaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser aspnet_PersonalizationPerUser);
        void AddToaspnet_Profile(aspnet_Profile aspnet_Profile);
        void AddToaspnet_Roles(aspnet_Roles aspnet_Roles);
        void AddToaspnet_SchemaVersions(aspnet_SchemaVersions aspnet_SchemaVersions);
        void AddToaspnet_Users(aspnet_Users aspnet_Users);
        void AddToaspnet_WebEvent_Events(aspnet_WebEvent_Events aspnet_WebEvent_Events);
        void AddToCms_BinaryContent(Cms_BinaryContent cms_BinaryContent);
        void AddToCms_Column(Cms_Column cms_Column);
        void AddToCms_Content(Cms_Content cms_Content);
        void AddToCms_ContentFile(Cms_ContentFile cms_ContentFile);
        void AddToCms_ContentTemplate(Cms_ContentTemplate cms_ContentTemplate);
        void AddToCms_ContentTemplateInPageHolder(Cms_ContentTemplateInPageHolder cms_ContentTemplateInPageHolder);
        void AddToCms_ContentTemplateParameters(Cms_ContentTemplateParameters cms_ContentTemplateParameters);
        void AddToCms_DataRule(Cms_DataRule cms_DataRule);
        void AddToCms_Folder(Cms_Folder cms_Folder);
        void AddToCms_Page(Cms_Page cms_Page);
        void AddToCms_PageHolder(Cms_PageTemplateHolders cms_PageHolder);
        void AddToCms_PageTemplate(Cms_PageTemplate cms_PageTemplate);
        void AddToCms_ParameterValues(Cms_ParameterValues cms_ParameterValues);
        void AddToCms_Permission(Cms_Permission cms_Permission);
        void AddToCms_Plugin(Cms_Plugin cms_Plugin);
        void AddToCms_Properties(Cms_Properties cms_Properties);
        void AddToCms_Schedule(Cms_Schedule cms_Schedule);
        void AddToCms_ScheduleParameter(Cms_ScheduleParameter cms_ScheduleParameter);
        void AddToCms_Schema(Cms_Schema cms_Schema);
        void AddToCms_Validator(Cms_Validator cms_Validator);
        void AddToCms_ValidatorGroup(Cms_ValidatorGroup cms_ValidatorGroup);
        void AddToCms_TextResource(Cms_TextResource cms_TextResource);
        void AddToCms_SchemaFunction(Cms_SchemaFunction cms_SchemaFunction);
        void AddToCms_Workflow(Cms_Workflow cms_Workflow);
        void AddToCms_WorkflowSequence(Cms_WorkflowSequence cms_WorkflowSequence);
        void AddToCms_WorkflowHistory(Cms_WorkflowHistory cms_WorkflowHistory);
        void AddToCms_CustomerForm(Cms_CustomerForm Cms_CustomerForm);
        void AddToCms_CustomerFormValues(Cms_CustomerFormValues cms_CustomerFormValues);
        void AddToCms_ContentInFolder(Cms_ContentInFolder cms_ContentInFolder);
        void AddToCms_ModulePermission(Cms_ModulePermission cms_ModulePermission);
        void AddToCms_ModuleSetting(Cms_ModuleSetting cms_ModuleSetting);
        void AddToCms_SearchSetting(Cms_SearchSetting cms_SearchSetting);
        void AddToCms_ContentReferencing(Cms_ContentReferencing cms_ContentReferencing);
        void AddToCms_IndexTrigger(Cms_IndexTrigger cms_IndexTrigger);
        void AddToCms_ModuleApplication(Cms_ModuleApplication cms_ModuleApplication);
        void AddToCms_RssChannel(Cms_RssChannel cms_RssChannel);
        #endregion

        #region Delete

        /// <summary>
        /// Deletes the object.
        /// </summary>
        /// <param name="entity">The entity.</param>
        void DeleteObject(object entity);
        #endregion

        /// <summary>
        /// Saves the changes.
        /// </summary>
        /// <returns></returns>
        int SaveChanges();

        /// <summary>
        /// Gets the violations.
        /// </summary>
        /// <returns></returns>
        IEnumerable<RuleViolation> GetViolations();

        #region Transaction
        DbTransaction BeginTransaction();
        void Commit();
        void Rollback();
        #endregion

        #region Caching & Tracing
        bool LogToConsole { get; set; }
        string LogToFile { get; set; }
        TextWriter LogOutput { get; set; }

        bool EnableCaching { get; set; }
        #endregion

    }
}

www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.