/// <summary> /// Create a new DatabaseLog object. /// </summary> /// <param name="databaseLogID">Initial value of the DatabaseLogID property.</param> /// <param name="postTime">Initial value of the PostTime property.</param> /// <param name="databaseUser">Initial value of the DatabaseUser property.</param> /// <param name="event">Initial value of the Event property.</param> /// <param name="tSQL">Initial value of the TSQL property.</param> /// <param name="xmlEvent">Initial value of the XmlEvent property.</param> public static DatabaseLog CreateDatabaseLog(global::System.Int32 databaseLogID, global::System.DateTime postTime, global::System.String databaseUser, global::System.String @event, global::System.String tSQL, global::System.String xmlEvent) { DatabaseLog databaseLog = new DatabaseLog(); databaseLog.DatabaseLogID = databaseLogID; databaseLog.PostTime = postTime; databaseLog.DatabaseUser = databaseUser; databaseLog.Event = @event; databaseLog.TSQL = tSQL; databaseLog.XmlEvent = xmlEvent; return databaseLog; }
/// <summary> /// Deprecated Method for adding a new object to the DatabaseLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDatabaseLogs(DatabaseLog databaseLog) { base.AddObject("DatabaseLogs", databaseLog); }