/// <summary> /// Create a new LeadContactType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static LeadContactType CreateLeadContactType(global::System.Int32 id) { LeadContactType leadContactType = new LeadContactType(); leadContactType.ID = id; return leadContactType; }
/// <summary> /// Deprecated Method for adding a new object to the LeadContactTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeadContactTypes(LeadContactType leadContactType) { base.AddObject("LeadContactTypes", leadContactType); }