/// <summary> /// Deprecated Method for adding a new object to the People EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPeople(Person person) { base.AddObject("People", person); }
/// <summary> /// Create a new Person object. /// </summary> /// <param name="name">Initial value of the Name property.</param> /// <param name="phone">Initial value of the Phone property.</param> /// <param name="positionId">Initial value of the PositionId property.</param> /// <param name="customerId">Initial value of the CustomerId property.</param> public static Person CreatePerson(global::System.String name, global::System.String phone, global::System.String positionId, global::System.String customerId) { Person person = new Person(); person.Name = name; person.Phone = phone; person.PositionId = positionId; person.CustomerId = customerId; return person; }
public TextOperator() { Words = new Dictionary<string, string>(); Head = new Person(); }