/// <summary>
        /// Deletes a login record from a user in the UserLogins table.
        /// </summary>
        /// <param name="user">User to have login deleted.</param>
        /// <param name="login">Login to be deleted from user.</param>
        /// <returns></returns>
        public int Delete(IdentityUser user, UserLoginInfo login)
        {
            string commandText = "DELETE FROM " + fullTableName + " WHERE " + fielduserID.Quote() + " = @userId AND " + fieldLoginProvider.Quote() + " = @loginProvider " +
                                 " AND " + fieldProviderKey.Quote() + " = @providerKey";
            Dictionary <string, object> parameters = new Dictionary <string, object>();

            parameters.Add("userId", user.Id);
            parameters.Add("loginProvider", login.LoginProvider);
            parameters.Add("providerKey", login.ProviderKey);

            return(_database.ExecuteSQL(commandText, parameters));
        }