Class ObjectSchema.EventNotification
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.event_notifications (Transact-SQL)
Applies to: √ SQL Server (all supported versions) √ Azure SQL Database
Returns a row for each object that is an event notification, with sys.objects.type = EN.
[Table(Schema = "sys", Name = "event_notifications", IsView = true)]
public class ObjectSchema.EventNotification
- Inheritance
-
ObjectSchema.EventNotification
- Extension Methods
Properties
BrokerInstance
Broker instance to which the notification is sent.
[Column("broker_instance")]
[Nullable]
public string? BrokerInstance { get; set; }
Property Value
CreateDate
Date created.
[Column("create_date")]
[NotNull]
public DateTime CreateDate { get; set; }
Property Value
CreatorSID
SID of the login who created the event notification.
Is NULL if the FAN_IN option is not specified.
[Column("creator_sid")]
[Nullable]
public byte[]? CreatorSID { get; set; }
Property Value
- byte[]
ModifyDate
Always equals create_date.
[Column("modify_date")]
[NotNull]
public DateTime ModifyDate { get; set; }
Property Value
Name
Event notification name.
[Column("name")]
[NotNull]
public string Name { get; set; }
Property Value
Object
objects (sys.objects)
[Association(ThisKey = "ObjectID", OtherKey = "ObjectID", CanBeNull = false)]
public ObjectSchema.Object Object { get; set; }
Property Value
ObjectID
Object identification number. Is unique within a database.
[Column("object_id")]
[NotNull]
public int ObjectID { get; set; }
Property Value
ParentClass
Class of parent.
0 = Database
1 = Object or Column
[Column("parent_class")]
[NotNull]
public byte ParentClass { get; set; }
Property Value
ParentClassDesc
DATABASE
OBJECT_OR_COLUMN
[Column("parent_class_desc")]
[Nullable]
public string? ParentClassDesc { get; set; }
Property Value
ParentID
Non-zero ID of the parent object.
0 = The parent class is the database.
[Column("parent_id")]
[NotNull]
public int ParentID { get; set; }
Property Value
PrincipalID
ID of the database principal that owns this event notification.
[Column("principal_id")]
[Nullable]
public int? PrincipalID { get; set; }
Property Value
- int?
ServiceName
Name of the target service to which the notification is sent.
[Column("service_name")]
[Nullable]
public string? ServiceName { get; set; }