/// <summary> /// Deprecated Method for adding a new object to the Directors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDirectors(Director director) { base.AddObject("Directors", director); }
/// <summary> /// Create a new Director object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="f_name">Initial value of the f_name property.</param> /// <param name="l_name">Initial value of the l_name property.</param> /// <param name="dir_address_id">Initial value of the dir_address_id property.</param> /// <param name="cust_id">Initial value of the cust_id property.</param> /// <param name="app_id">Initial value of the app_id property.</param> public static Director CreateDirector(global::System.Int32 id, global::System.String f_name, global::System.String l_name, global::System.Int32 dir_address_id, global::System.Int32 cust_id, global::System.Int32 app_id) { Director director = new Director(); director.id = id; director.f_name = f_name; director.l_name = l_name; director.dir_address_id = dir_address_id; director.cust_id = cust_id; director.app_id = app_id; return director; }