internal static void InitializeMembershipProvider(MySqlSimpleMembershipProvider extendedMembership, DatabaseConnectionInfo connect) { if (extendedMembership.InitializeCalled) { throw new InvalidOperationException(Resources.Security_InitializeAlreadyCalled); } extendedMembership.ConnectionInfo = connect; // We want to validate the user table if we aren't creating them extendedMembership.ValidateTable(); extendedMembership.InitializeCalled = true; }