/// <summary> /// Deprecated Method for adding a new object to the link_type EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTolink_type(link_type link_type) { base.AddObject("link_type", link_type); }
/// <summary> /// Create a new link_type object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="child_order">Initial value of the child_order property.</param> /// <param name="gid">Initial value of the gid property.</param> /// <param name="entity_type0">Initial value of the entity_type0 property.</param> /// <param name="entity_type1">Initial value of the entity_type1 property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="link_phrase">Initial value of the link_phrase property.</param> /// <param name="reverse_link_phrase">Initial value of the reverse_link_phrase property.</param> /// <param name="short_link_phrase">Initial value of the short_link_phrase property.</param> /// <param name="priority">Initial value of the priority property.</param> public static link_type Createlink_type(global::System.Int32 id, global::System.Int32 child_order, global::System.String gid, global::System.String entity_type0, global::System.String entity_type1, global::System.String name, global::System.String link_phrase, global::System.String reverse_link_phrase, global::System.String short_link_phrase, global::System.Int32 priority) { link_type link_type = new link_type(); link_type.id = id; link_type.child_order = child_order; link_type.gid = gid; link_type.entity_type0 = entity_type0; link_type.entity_type1 = entity_type1; link_type.name = name; link_type.link_phrase = link_phrase; link_type.reverse_link_phrase = reverse_link_phrase; link_type.short_link_phrase = short_link_phrase; link_type.priority = priority; return link_type; }