//---------------------------------------------------------------------------------------------
// This file was AUTO-GENERATED by "EF Domain Objects" Xomega.Net generator.
//
// Manual CHANGES to this file WILL BE LOST when the code is regenerated.
//---------------------------------------------------------------------------------------------

using System;

namespace AdventureWorks.Services.Entities
{
    ///<summary>
    /// Audit table tracking all DDL changes made to the AdventureWorks database. Data is captured by the database trigger ddlDatabaseTriggerLog.
    ///</summary>
    public partial class DatabaseLog
    {
        public DatabaseLog()
        {
        }

        #region Properties

        public int DatabaseLogId  { get; set; }

        ///<summary>
        /// The date and time the DDL change occurred.
        ///</summary>
        public DateTime PostTime  { get; set; }

        ///<summary>
        /// The user who implemented the DDL change.
        ///</summary>
        public string DatabaseUser  { get; set; }

        ///<summary>
        /// The type of DDL statement that was executed.
        ///</summary>
        public string Event  { get; set; }

        ///<summary>
        /// The schema to which the changed object belongs.
        ///</summary>
        public string Schema  { get; set; }

        ///<summary>
        /// The object that was changed by the DDL statment.
        ///</summary>
        public string Object  { get; set; }

        ///<summary>
        /// The exact Transact-SQL statement that was executed.
        ///</summary>
        public string Tsql  { get; set; }

        ///<summary>
        /// The raw XML data generated by database trigger.
        ///</summary>
        public string XmlEvent  { get; set; }

        #endregion
    }
}