// ***********************************************************************************
// Created by zbw911 
// ´´½¨ÓÚ£º2012Äê12ÔÂ18ÈÕ 13:28
// 
// ÐÞ¸ÄÓÚ£º2013Äê02ÔÂ18ÈÕ 18:24
// ÎÄ¼þÃû£ºIUnitOfWork.cs
// 
// Èç¹ûÓÐ¸üºÃµÄ½¨Òé»òÒâ¼ûÇëÓÊ¼þÖÁzbw911#gmail.com
// ***********************************************************************************
 

using System;

namespace Kt.Framework.Repository.Data
{
    /// <summary>
    /// A unit of work contract that that encapsulates the Unit of Work pattern.
    /// </summary>
    public interface IUnitOfWork : IDisposable
    {
        /// <summary>
        /// Flushes the changes made in the unit of work to the data store.
        /// </summary>
        void Flush();
    }
}