// Default contructor that set entity to field
 public aspnet_WebEvent_EventsModel(aspnet_WebEvent_Events aspnet_webevent_events)
 {
     this._aspnet___web_event___events = aspnet_webevent_events;
     this._event_id = aspnet_webevent_events.EventId;
     this._event_time_utc = aspnet_webevent_events.EventTimeUtc;
     this._event_time = aspnet_webevent_events.EventTime;
     this._event_type = aspnet_webevent_events.EventType;
     this._event_sequence = aspnet_webevent_events.EventSequence;
     this._event_occurrence = aspnet_webevent_events.EventOccurrence;
     this._event_code = aspnet_webevent_events.EventCode;
     this._event_detail_code = aspnet_webevent_events.EventDetailCode;
     this._message = aspnet_webevent_events.Message;
     this._application_path = aspnet_webevent_events.ApplicationPath;
     this._application_virtual_path = aspnet_webevent_events.ApplicationVirtualPath;
     this._machine_name = aspnet_webevent_events.MachineName;
     this._request_url = aspnet_webevent_events.RequestUrl;
     this._exception_type = aspnet_webevent_events.ExceptionType;
     this._details = aspnet_webevent_events.Details;
     this._originalaspnet_WebEvent_Events = aspnet_webevent_events.DeepClone();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the aspnet_WebEvent_Events EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaspnet_WebEvent_Events(aspnet_WebEvent_Events aspnet_WebEvent_Events)
 {
     base.AddObject("aspnet_WebEvent_Events", aspnet_WebEvent_Events);
 }
 // Default contructor
 public aspnet_WebEvent_EventsModel()
 {
     this.IsNewItem = true;
     this._aspnet___web_event___events = new aspnet_WebEvent_Events();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Create a new aspnet_WebEvent_Events object.
 /// </summary>
 /// <param name="eventId">Initial value of the EventId property.</param>
 /// <param name="eventTimeUtc">Initial value of the EventTimeUtc property.</param>
 /// <param name="eventTime">Initial value of the EventTime property.</param>
 /// <param name="eventType">Initial value of the EventType property.</param>
 /// <param name="eventSequence">Initial value of the EventSequence property.</param>
 /// <param name="eventOccurrence">Initial value of the EventOccurrence property.</param>
 /// <param name="eventCode">Initial value of the EventCode property.</param>
 /// <param name="eventDetailCode">Initial value of the EventDetailCode property.</param>
 /// <param name="machineName">Initial value of the MachineName property.</param>
 public static aspnet_WebEvent_Events Createaspnet_WebEvent_Events(global::System.String eventId, global::System.DateTime eventTimeUtc, global::System.DateTime eventTime, global::System.String eventType, global::System.Decimal eventSequence, global::System.Decimal eventOccurrence, global::System.Int32 eventCode, global::System.Int32 eventDetailCode, global::System.String machineName)
 {
     aspnet_WebEvent_Events aspnet_WebEvent_Events = new aspnet_WebEvent_Events();
     aspnet_WebEvent_Events.EventId = eventId;
     aspnet_WebEvent_Events.EventTimeUtc = eventTimeUtc;
     aspnet_WebEvent_Events.EventTime = eventTime;
     aspnet_WebEvent_Events.EventType = eventType;
     aspnet_WebEvent_Events.EventSequence = eventSequence;
     aspnet_WebEvent_Events.EventOccurrence = eventOccurrence;
     aspnet_WebEvent_Events.EventCode = eventCode;
     aspnet_WebEvent_Events.EventDetailCode = eventDetailCode;
     aspnet_WebEvent_Events.MachineName = machineName;
     return aspnet_WebEvent_Events;
 }
 // Delete a existed aspnet_WebEvent_Events
 public void Deleteaspnet_WebEvent_Events(aspnet_WebEvent_Events _aspnet_WebEvent_Events)
 {
     unitOfWork.Delete<aspnet_WebEvent_Events>(_aspnet_WebEvent_Events);
 }
 // Add a new aspnet_WebEvent_Events
 public aspnet_WebEvent_Events Addaspnet_WebEvent_Events(aspnet_WebEvent_Events _aspnet_WebEvent_Events)
 {
     unitOfWork.Add<aspnet_WebEvent_Events>(_aspnet_WebEvent_Events);
     return _aspnet_WebEvent_Events;
 }
 // Update a existed aspnet_WebEvent_Events
 public aspnet_WebEvent_Events Updateaspnet_WebEvent_Events(aspnet_WebEvent_Events _aspnet_WebEvent_Events)
 {
     unitOfWork.Update<aspnet_WebEvent_Events>(_aspnet_WebEvent_Events);
     return _aspnet_WebEvent_Events;
 }
 // Refresh an existed aspnet_WebEvent_Events
 public aspnet_WebEvent_Events Refeshaspnet_WebEvent_Events(aspnet_WebEvent_Events _aspnet_WebEvent_Events)
 {
     unitOfWork.Refresh<aspnet_WebEvent_Events>(_aspnet_WebEvent_Events);
     return _aspnet_WebEvent_Events;
 }