/// <summary> /// Create a new LeadTrackingEvent object. /// </summary> /// <param name="leadTrackingEventID">Initial value of the LeadTrackingEventID property.</param> /// <param name="marketID">Initial value of the MarketID property.</param> /// <param name="entityScope">Initial value of the EntityScope property.</param> /// <param name="entityID">Initial value of the EntityID property.</param> /// <param name="source">Initial value of the Source property.</param> /// <param name="notificationTypeKey">Initial value of the NotificationTypeKey property.</param> /// <param name="variant">Initial value of the Variant property.</param> /// <param name="notificationContent">Initial value of the NotificationContent property.</param> /// <param name="countedEvent">Initial value of the CountedEvent property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> /// <param name="version">Initial value of the Version property.</param> public static LeadTrackingEvent CreateLeadTrackingEvent(global::System.Int32 leadTrackingEventID, global::System.Int32 marketID, global::System.Int32 entityScope, global::System.Int32 entityID, global::System.String source, global::System.String notificationTypeKey, global::System.String variant, global::System.String notificationContent, global::System.Boolean countedEvent, global::System.DateTime created, global::System.DateTime lastModified, global::System.Byte[] version) { LeadTrackingEvent leadTrackingEvent = new LeadTrackingEvent(); leadTrackingEvent.LeadTrackingEventID = leadTrackingEventID; leadTrackingEvent.MarketID = marketID; leadTrackingEvent.EntityScope = entityScope; leadTrackingEvent.EntityID = entityID; leadTrackingEvent.Source = source; leadTrackingEvent.NotificationTypeKey = notificationTypeKey; leadTrackingEvent.Variant = variant; leadTrackingEvent.NotificationContent = notificationContent; leadTrackingEvent.CountedEvent = countedEvent; leadTrackingEvent.Created = created; leadTrackingEvent.LastModified = lastModified; leadTrackingEvent.Version = version; return leadTrackingEvent; }
/// <summary> /// Deprecated Method for adding a new object to the LeadTrackingEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeadTrackingEvents(LeadTrackingEvent leadTrackingEvent) { base.AddObject("LeadTrackingEvents", leadTrackingEvent); }