1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
//------------------------------------------------------------------------------
// <copyright file="SqlTriggerAttribute.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Information Contained Herein is Proprietary and Confidential.
// </copyright>
// <owner current="true" primary="true">Microsoft</owner>
// <owner current="true" primary="true">Microsoft</owner>
// <owner current="true" primary="true">daltudov</owner>
// <owner current="true" primary="true">Microsoft</owner>
// <owner current="true" primary="false">beysims</owner>
// <owner current="true" primary="false">Microsoft</owner>
// <owner current="true" primary="false">vadimt</owner>
//------------------------------------------------------------------------------
using System;
namespace Microsoft.SqlServer.Server {
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false), Serializable]
public sealed class SqlTriggerAttribute : System.Attribute {
private string m_fName;
private string m_fTarget;
private string m_fEvent;
public SqlTriggerAttribute() {
// default values
m_fName = null;
m_fTarget = null;
m_fEvent = null;
}
public string Name {
get {
return m_fName;
}
set {
m_fName = value;
}
}
public string Target {
get {
return m_fTarget;
}
set {
m_fTarget = value;
}
}
public string Event {
get {
return m_fEvent;
}
set {
m_fEvent = value;
}
}
}
}
|