コード例 #1
0
 /// <summary>
 /// Create a new Individual object.
 /// </summary>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="contactID">Initial value of the ContactID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Individual CreateIndividual(global::System.Int32 customerID, global::System.Int32 contactID, global::System.DateTime modifiedDate)
 {
     Individual individual = new Individual();
     individual.CustomerID = customerID;
     individual.ContactID = contactID;
     individual.ModifiedDate = modifiedDate;
     return individual;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Individuals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIndividuals(Individual individual)
 {
     base.AddObject("Individuals", individual);
 }