📄 triggereventobject.cs
字号:
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Mobile.Data
{
/// <summary>
/// Event arguments passed to on Trigger events. This allows for
/// notification of changes to a table.
/// </summary>
public class TriggerEventArgs : EventArgs
{
#region Fields
private string _identifier;
private TriggerType _triggerAction;
#endregion
#region Constructor(s) & Dispose
/// <summary>
/// Builds a read only trigger event argument object.
/// </summary>
/// <param name="action">type of event delete, insert or update</param>
/// <param name="identifier">
/// name of the table or view the action was performed upon
/// </param>
public TriggerEventArgs(TriggerType action, string identifier)
{
_identifier = identifier;
_triggerAction = action;
}
#endregion
#region Properties
/// <summary>
/// Type of trigger either delete, insert or update.
/// </summary>
public TriggerType TriggerAction
{
get
{
return _triggerAction;
}
}
/// <summary>
/// Name of the table that caused the trigger.
/// </summary>
public string Identifier
{
get
{
return _identifier;
}
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -