mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Changes the NHibernate asset mapping and expose FullID on AssetBase for NHibernate * mikem has seen this patch :)
This commit is contained in:
@@ -61,6 +61,15 @@ namespace OpenSim.Framework
|
||||
get { return _metadata; }
|
||||
set { _metadata = value; }
|
||||
}
|
||||
|
||||
// We expose FullID here because the NHibernate mappers require a
|
||||
// property on the AssetBase class for its primary key (see
|
||||
// OpenSim/Data/NHibernate/Resources/AssetBase.hbm.xml).
|
||||
public UUID FullID
|
||||
{
|
||||
get { return Metadata.FullID; }
|
||||
set { Metadata.FullID = value; }
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
|
||||
Reference in New Issue
Block a user