/// <summary> /// Deprecated Method for adding a new object to the userroles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTouserroles(userrole userrole) { base.AddObject("userroles", userrole); }
/// <summary> /// Create a new userrole object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> public static userrole Createuserrole(global::System.Int32 id, global::System.String description) { userrole userrole = new userrole(); userrole.Id = id; userrole.Description = description; return userrole; }