/// <summary> /// Create a new LeadSourceMaster object. /// </summary> /// <param name="leadSourceId">Initial value of the LeadSourceId property.</param> public static LeadSourceMaster CreateLeadSourceMaster(global::System.Int32 leadSourceId) { LeadSourceMaster leadSourceMaster = new LeadSourceMaster(); leadSourceMaster.LeadSourceId = leadSourceId; return leadSourceMaster; }
/// <summary> /// Deprecated Method for adding a new object to the LeadSourceMasters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeadSourceMasters(LeadSourceMaster leadSourceMaster) { base.AddObject("LeadSourceMasters", leadSourceMaster); }