aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-09 17:31:03 +0000
committerJustin Clarke Casey2009-02-09 17:31:03 +0000
commiteddcf620d874263b7fccc07623a4d37e7478532a (patch)
tree8ce37cec75731399db87795f0fbea9f1553f1bdb /OpenSim/Framework
parent* Apply http://opensimulator.org/mantis/view.php?id=3094 (diff)
downloadopensim-SC_OLD-eddcf620d874263b7fccc07623a4d37e7478532a.zip
opensim-SC_OLD-eddcf620d874263b7fccc07623a4d37e7478532a.tar.gz
opensim-SC_OLD-eddcf620d874263b7fccc07623a4d37e7478532a.tar.bz2
opensim-SC_OLD-eddcf620d874263b7fccc07623a4d37e7478532a.tar.xz
* Apply http://opensimulator.org/mantis/view.php?id=3080
* Changes the NHibernate asset mapping and expose FullID on AssetBase for NHibernate * mikem has seen this patch :)
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/AssetBase.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Framework/AssetBase.cs b/OpenSim/Framework/AssetBase.cs
index f9c9457..88ac4a6 100644
--- a/OpenSim/Framework/AssetBase.cs
+++ b/OpenSim/Framework/AssetBase.cs
@@ -61,6 +61,15 @@ namespace OpenSim.Framework
61 get { return _metadata; } 61 get { return _metadata; }
62 set { _metadata = value; } 62 set { _metadata = value; }
63 } 63 }
64
65 // We expose FullID here because the NHibernate mappers require a
66 // property on the AssetBase class for its primary key (see
67 // OpenSim/Data/NHibernate/Resources/AssetBase.hbm.xml).
68 public UUID FullID
69 {
70 get { return Metadata.FullID; }
71 set { Metadata.FullID = value; }
72 }
64 } 73 }
65 74
66 [Serializable] 75 [Serializable]