/// <summary> /// Deprecated Method for adding a new object to the PolicyProductInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPolicyProductInfoes(PolicyProductInfo policyProductInfo) { base.AddObject("PolicyProductInfoes", policyProductInfo); }
/// <summary> /// Create a new PolicyProductInfo object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="uid">Initial value of the Uid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="policyId">Initial value of the PolicyId property.</param> public static PolicyProductInfo CreatePolicyProductInfo(global::System.Int64 id, global::System.Guid uid, global::System.String name, global::System.Int64 policyId) { PolicyProductInfo policyProductInfo = new PolicyProductInfo(); policyProductInfo.Id = id; policyProductInfo.Uid = uid; policyProductInfo.Name = name; policyProductInfo.PolicyId = policyId; return policyProductInfo; }