System.Data.Entity.Internal.LazyInternalContext.MarkDatabaseNotInitialized C# (CSharp) Method

MarkDatabaseNotInitialized() public method

Marks the database as having not been initialized. This is called when the app calls Database.Delete so that the database if the app attempts to then use the database again it will be re-initialized automatically.
public MarkDatabaseNotInitialized ( ) : void
return void
        public override void MarkDatabaseNotInitialized()
        {
            if (!InInitializationAction)
            {
                RetryAction<InternalContext> _;
                InitializedDatabases.TryRemove(Tuple.Create(_model, _internalConnection.ConnectionKey), out _);
            }
        }