⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gbacache.server.cs

📁 microsoft synchronization sample for Oracle(Server side)
💻 CS
字号:
namespace GBAServerSyncProvider {
    
    
    public partial class GBACacheServerSyncProvider {
        
        partial void OnInitialized(){
            this.ApplyChangeFailed += new System.EventHandler<Microsoft.Synchronization.Data.ApplyChangeFailedEventArgs>(GBACacheServerSyncProvider_ApplyChangeFailed);
            this.ApplyingChanges += new System.EventHandler<Microsoft.Synchronization.Data.ApplyingChangesEventArgs>(GBACacheServerSyncProvider_ApplyingChanges);
            this.ChangesSelected += new System.EventHandler<Microsoft.Synchronization.Data.ChangesSelectedEventArgs>(GBACacheServerSyncProvider_ChangesSelected);
            this.ChangesApplied += new System.EventHandler<Microsoft.Synchronization.Data.ChangesAppliedEventArgs>(GBACacheServerSyncProvider_ChangesApplied);
        }

        void GBACacheServerSyncProvider_ApplyChangeFailed(object sender, Microsoft.Synchronization.Data.ApplyChangeFailedEventArgs e)
        {
            //Handle conflicts here;
        }
        void GBACacheServerSyncProvider_ChangesApplied(object sender, Microsoft.Synchronization.Data.ChangesAppliedEventArgs e)
        {
            // Code that should be run after changes have been commited to the database;
        }
        void GBACacheServerSyncProvider_ChangesSelected(object sender, Microsoft.Synchronization.Data.ChangesSelectedEventArgs e)
        {
            // Add business rule validation for changes that should be applied before sending data to the client;
        }
        void GBACacheServerSyncProvider_ApplyingChanges(object sender, Microsoft.Synchronization.Data.ApplyingChangesEventArgs e)
        {
            // Add business rule validation, before applying changes to the server;
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -