/// <summary> /// Deprecated Method for adding a new object to the tblPersons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblPersons(tblPerson tblPerson) { base.AddObject("tblPersons", tblPerson); }
/// <summary> /// Create a new tblPerson object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="age">Initial value of the Age property.</param> /// <param name="gender">Initial value of the Gender property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="active">Initial value of the Active property.</param> public static tblPerson CreatetblPerson(global::System.Int32 id, global::System.String name, global::System.Int32 age, global::System.Int32 gender, global::System.DateTime createdDate, global::System.String createdBy, global::System.Boolean active) { tblPerson tblPerson = new tblPerson(); tblPerson.ID = id; tblPerson.Name = name; tblPerson.Age = age; tblPerson.Gender = gender; tblPerson.CreatedDate = createdDate; tblPerson.CreatedBy = createdBy; tblPerson.Active = active; return tblPerson; }