/// <summary> /// Deprecated Method for adding a new object to the persons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTopersons(persons persons) { base.AddObject("persons", persons); }
/// <summary> /// Create a new persons object. /// </summary> /// <param name="pe_id">Initial value of the pe_id property.</param> /// <param name="pe_type">Initial value of the pe_type property.</param> /// <param name="pe_name">Initial value of the pe_name property.</param> /// <param name="pe_countryCode">Initial value of the pe_countryCode property.</param> /// <param name="pe_date_inserted">Initial value of the pe_date_inserted property.</param> /// <param name="pe_us_id_inserted">Initial value of the pe_us_id_inserted property.</param> public static persons Createpersons(global::System.Int32 pe_id, global::System.Int32 pe_type, global::System.String pe_name, global::System.String pe_countryCode, global::System.DateTime pe_date_inserted, global::System.Int32 pe_us_id_inserted) { persons persons = new persons(); persons.pe_id = pe_id; persons.pe_type = pe_type; persons.pe_name = pe_name; persons.pe_countryCode = pe_countryCode; persons.pe_date_inserted = pe_date_inserted; persons.pe_us_id_inserted = pe_us_id_inserted; return persons; }