/// <summary> /// Deprecated Method for adding a new object to the ENTtblPersons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToENTtblPersons(ENTtblPerson eNTtblPerson) { base.AddObject("ENTtblPersons", eNTtblPerson); }
/// <summary> /// Create a new ENTtblPerson object. /// </summary> /// <param name="personId">Initial value of the PersonId property.</param> /// <param name="name">Initial value of the Name property.</param> public static ENTtblPerson CreateENTtblPerson(global::System.Int32 personId, global::System.String name) { ENTtblPerson eNTtblPerson = new ENTtblPerson(); eNTtblPerson.PersonId = personId; eNTtblPerson.Name = name; return eNTtblPerson; }