/// <summary> /// Create a new webpages_Roles object. /// </summary> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="roleName">Initial value of the RoleName property.</param> public static webpages_Roles Createwebpages_Roles(global::System.Int32 roleId, global::System.String roleName) { webpages_Roles webpages_Roles = new webpages_Roles(); webpages_Roles.RoleId = roleId; webpages_Roles.RoleName = roleName; return webpages_Roles; }
/// <summary> /// Deprecated Method for adding a new object to the webpages_Roles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTowebpages_Roles(webpages_Roles webpages_Roles) { base.AddObject("webpages_Roles", webpages_Roles); }