/// <summary> /// Create a new CampaignProperty object. /// </summary> /// <param name="propertyID">Initial value of the PropertyID property.</param> /// <param name="campaignID">Initial value of the CampaignID property.</param> /// <param name="propertyName">Initial value of the PropertyName property.</param> /// <param name="propertyValue">Initial value of the PropertyValue property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="dateModified">Initial value of the DateModified property.</param> public static CampaignProperty CreateCampaignProperty(global::System.Int32 propertyID, global::System.Int16 campaignID, global::System.String propertyName, global::System.String propertyValue, global::System.DateTime dateCreated, global::System.DateTime dateModified) { CampaignProperty campaignProperty = new CampaignProperty(); campaignProperty.PropertyID = propertyID; campaignProperty.CampaignID = campaignID; campaignProperty.PropertyName = propertyName; campaignProperty.PropertyValue = propertyValue; campaignProperty.DateCreated = dateCreated; campaignProperty.DateModified = dateModified; return(campaignProperty); }
/// <summary> /// Deprecated Method for adding a new object to the CampaignProperties EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCampaignProperties(CampaignProperty campaignProperty) { base.AddObject("CampaignProperties", campaignProperty); }