From bfef9a7b0db7b18caed1ff2275eeea29ad6a7a4c Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 13 Jan 2009 17:13:49 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=2991 * Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005 * Thanks mpallari --- OpenSim/Data/NHibernate/UserFriend.cs | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'OpenSim/Data/NHibernate') diff --git a/OpenSim/Data/NHibernate/UserFriend.cs b/OpenSim/Data/NHibernate/UserFriend.cs index 01ae35c..b4f0207 100644 --- a/OpenSim/Data/NHibernate/UserFriend.cs +++ b/OpenSim/Data/NHibernate/UserFriend.cs @@ -19,10 +19,30 @@ namespace OpenSim.Data.NHibernate this.FriendPermissions = friendPermissions; } - public UUID UserFriendID; - public UUID OwnerID; - public UUID FriendID; - public uint FriendPermissions; + private UUID userFriendId; + public UUID UserFriendID + { + get { return userFriendId; } + set { userFriendId = value; } + } + private UUID ownerId; + public UUID OwnerID + { + get { return ownerId; } + set { ownerId = value; } + } + private UUID friendId; + public UUID FriendID + { + get { return friendId; } + set { friendId = value; } + } + private uint friendPermissions; + public uint FriendPermissions + { + get { return friendPermissions; } + set { friendPermissions = value; } + } } } -- cgit v1.1