/// <summary> /// Deprecated Method for adding a new object to the PersonTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPersonTypes(PersonType personType) { base.AddObject("PersonTypes", personType); }
/// <summary> /// Create a new PersonType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static PersonType CreatePersonType(global::System.Int32 id) { PersonType personType = new PersonType(); personType.Id = id; return personType; }