/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Individuals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIndividuals(Individual individual) { base.AddObject("Individuals", individual); }