From be400d1bd07bf2f0fb7f555a1106f5931c23ddd8 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 10 Jun 2008 23:17:18 +0000 Subject: I'm going to need the Version property to manage migrating from the old to the new system. Silly legacy code. --- OpenSim/Data/Migration.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs index fe4dfc4..83f4c3d 100644 --- a/OpenSim/Data/Migration.cs +++ b/OpenSim/Data/Migration.cs @@ -156,6 +156,12 @@ namespace OpenSim.Data return max; } + public int Version + { + get { return FindVersion(_type); } + set { UpdateVersion(_type, value); } + } + private int FindVersion(string type) { int version = 0; -- cgit v1.1