/// <summary> /// Deprecated Method for adding a new object to the PolicyComponentInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPolicyComponentInfoes(PolicyComponentInfo policyComponentInfo) { base.AddObject("PolicyComponentInfoes", policyComponentInfo); }
/// <summary> /// Create a new PolicyComponentInfo object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="settingsAsXml">Initial value of the SettingsAsXml property.</param> /// <param name="policyProductInfoId">Initial value of the PolicyProductInfoId property.</param> public static PolicyComponentInfo CreatePolicyComponentInfo(global::System.Int64 id, global::System.String name, global::System.String settingsAsXml, global::System.Int64 policyProductInfoId) { PolicyComponentInfo policyComponentInfo = new PolicyComponentInfo(); policyComponentInfo.Id = id; policyComponentInfo.Name = name; policyComponentInfo.SettingsAsXml = settingsAsXml; policyComponentInfo.PolicyProductInfoId = policyProductInfoId; return policyComponentInfo; }