/// <summary> /// Deprecated Method for adding a new object to the rb_Portals EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTorb_Portals(rb_Portals rb_Portals) { base.AddObject("rb_Portals", rb_Portals); }
/// <summary> /// Create a new rb_Portals object. /// </summary> /// <param name="portalID">Initial value of the PortalID property.</param> /// <param name="portalAlias">Initial value of the PortalAlias property.</param> /// <param name="portalName">Initial value of the PortalName property.</param> /// <param name="alwaysShowEditButton">Initial value of the AlwaysShowEditButton property.</param> public static rb_Portals Createrb_Portals(global::System.Int32 portalID, global::System.String portalAlias, global::System.String portalName, global::System.Boolean alwaysShowEditButton) { rb_Portals rb_Portals = new rb_Portals(); rb_Portals.PortalID = portalID; rb_Portals.PortalAlias = portalAlias; rb_Portals.PortalName = portalName; rb_Portals.AlwaysShowEditButton = alwaysShowEditButton; return rb_Portals; }