/// <summary> /// Deprecated Method for adding a new object to the Authorities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuthorities(Authority authority) { base.AddObject("Authorities", authority); }
/// <summary> /// Create a new Authority object. /// </summary> /// <param name="authority_id">Initial value of the authority_id property.</param> /// <param name="country_id">Initial value of the country_id property.</param> /// <param name="wowi_product_type_id">Initial value of the wowi_product_type_id property.</param> /// <param name="authority_name">Initial value of the authority_name property.</param> /// <param name="publish">Initial value of the Publish property.</param> public static Authority CreateAuthority(global::System.Int32 authority_id, global::System.Int32 country_id, global::System.Int32 wowi_product_type_id, global::System.String authority_name, global::System.Boolean publish) { Authority authority = new Authority(); authority.authority_id = authority_id; authority.country_id = country_id; authority.wowi_product_type_id = wowi_product_type_id; authority.authority_name = authority_name; authority.Publish = publish; return authority; }