JPB.DataAccess.Helper.LocalDb.LocalDbManager.Alter C# (CSharp) Method

Alter() public method

allowes to Add or remove tabels from this Database. If you try to use the tables before calling dispose on the returned Scope an InvalidOperationException will be thrown
public Alter ( ) : EditDatabaseScope
return EditDatabaseScope
		public EditDatabaseScope Alter()
		{
			_mappings.Clear();
			foreach (var localDbReposetoryBase in _database)
			{
				localDbReposetoryBase.Value.ReposetoryCreated = false;
			}
			return new EditDatabaseScope(this);
		}