Пример #1
0
 /// <summary>
 /// Create a new LeadPolicyDamageType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="policyID">Initial value of the PolicyID property.</param>
 /// <param name="typeOfDamageId">Initial value of the TypeOfDamageId property.</param>
 public static LeadPolicyDamageType CreateLeadPolicyDamageType(global::System.Int32 id, global::System.Int32 policyID, global::System.Int32 typeOfDamageId)
 {
     LeadPolicyDamageType leadPolicyDamageType = new LeadPolicyDamageType();
     leadPolicyDamageType.ID = id;
     leadPolicyDamageType.PolicyID = policyID;
     leadPolicyDamageType.TypeOfDamageId = typeOfDamageId;
     return leadPolicyDamageType;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LeadPolicyDamageTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLeadPolicyDamageTypes(LeadPolicyDamageType leadPolicyDamageType)
 {
     base.AddObject("LeadPolicyDamageTypes", leadPolicyDamageType);
 }