/// <summary> /// Create a new HeadEnd object. /// </summary> /// <param name="headend_nbr">Initial value of the headend_nbr property.</param> /// <param name="headend_code">Initial value of the headend_code property.</param> /// <param name="headend_name">Initial value of the headend_name property.</param> /// <param name="headend_loc">Initial value of the headend_loc property.</param> /// <param name="location_nbr">Initial value of the location_nbr property.</param> /// <param name="location_id">Initial value of the location_id property.</param> public static HeadEnd CreateHeadEnd(global::System.Int32 headend_nbr, global::System.String headend_code, global::System.String headend_name, global::System.String headend_loc, global::System.Int32 location_nbr, global::System.String location_id) { HeadEnd headEnd = new HeadEnd(); headEnd.headend_nbr = headend_nbr; headEnd.headend_code = headend_code; headEnd.headend_name = headend_name; headEnd.headend_loc = headend_loc; headEnd.location_nbr = location_nbr; headEnd.location_id = location_id; return headEnd; }
/// <summary> /// Deprecated Method for adding a new object to the HeadEnds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHeadEnds(HeadEnd headEnd) { base.AddObject("HeadEnds", headEnd); }