DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | List of all members
Deveel.Data.Transactions.ObjectCreatedEvent Class Reference

An event fired when a database object of the given type is created during the lifetime of a transaction. More...

Inheritance diagram for Deveel.Data.Transactions.ObjectCreatedEvent:
Deveel.Data.Transactions.ITransactionEvent Deveel.Data.Transactions.TableCreatedEvent

Public Member Functions

 ObjectCreatedEvent (ObjectName objectName, DbObjectType objectType)
 Constructs a new event with the given object name and type. More...
 

Properties

ObjectName ObjectName [get, private set]
 Gets the ObjectName that uniquely identify the object created. More...
 
DbObjectType ObjectType [get, private set]
 Gets the type of the object created. More...
 

Detailed Description

An event fired when a database object of the given type is created during the lifetime of a transaction.

The object created is identified in a transaction by the given DbObjectType and its unique ObjectName.

See also
DbObjectType, ObjectName

Definition at line 32 of file ObjectCreatedEvent.cs.

Constructor & Destructor Documentation

Deveel.Data.Transactions.ObjectCreatedEvent.ObjectCreatedEvent ( ObjectName  objectName,
DbObjectType  objectType 
)
inline

Constructs a new event with the given object name and type.

Parameters
objectNameThe ObjectName that uniquely identify the object created.
objectTypeThe DbObjectType of the object created.
Exceptions
ArgumentNullExceptionIf the given objectName parameter passed is null.

Definition at line 42 of file ObjectCreatedEvent.cs.

42  {
43  if (objectName == null)
44  throw new ArgumentNullException("objectName");
45 
46  ObjectName = objectName;
47  ObjectType = objectType;
48  }
Describes the name of an object within a database.
Definition: ObjectName.cs:44
DbObjectType ObjectType
Gets the type of the object created.

Property Documentation

ObjectName Deveel.Data.Transactions.ObjectCreatedEvent.ObjectName
getprivate set

Gets the ObjectName that uniquely identify the object created.

Definition at line 54 of file ObjectCreatedEvent.cs.

DbObjectType Deveel.Data.Transactions.ObjectCreatedEvent.ObjectType
getprivate set

Gets the type of the object created.

Definition at line 59 of file ObjectCreatedEvent.cs.


The documentation for this class was generated from the following file: