/// <summary> /// Create a new PersonTypeLink object. /// </summary> /// <param name="idPersonTypeLink">Initial value of the idPersonTypeLink property.</param> /// <param name="idPerson">Initial value of the idPerson property.</param> /// <param name="idPersonType">Initial value of the idPersonType property.</param> public static PersonTypeLink CreatePersonTypeLink(global::System.Int32 idPersonTypeLink, global::System.Int32 idPerson, global::System.Int32 idPersonType) { PersonTypeLink personTypeLink = new PersonTypeLink(); personTypeLink.idPersonTypeLink = idPersonTypeLink; personTypeLink.idPerson = idPerson; personTypeLink.idPersonType = idPersonType; return personTypeLink; }
/// <summary> /// Deprecated Method for adding a new object to the PersonTypeLinks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPersonTypeLinks(PersonTypeLink personTypeLink) { base.AddObject("PersonTypeLinks", personTypeLink); }