Skip to content

Commit 8a788d6

Browse files
Obsolete unused old version type methods
SByteType seems to have implemented IVersionType previously, but that is no more the case.
1 parent 8e854b3 commit 8a788d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/NHibernate/Type/SByteType.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,22 @@ public override object FromStringValue(string xml)
7373

7474
#region IVersionType Members
7575

76+
// Since 5.2
77+
[Obsolete("This member has no more usage and will be removed in a future version.")]
7678
public virtual object Next(object current, ISessionImplementor session)
7779
{
7880
return (SByte)((SByte)current + 1);
7981
}
8082

83+
// Since 5.2
84+
[Obsolete("This member has no more usage and will be removed in a future version.")]
8185
public virtual object Seed(ISessionImplementor session)
8286
{
8387
return (SByte)1;
8488
}
8589

90+
// Since 5.2
91+
[Obsolete("This member has no more usage and will be removed in a future version.")]
8692
public IComparer Comparator
8793
{
8894
get { return Comparer<SByte>.Default; }
@@ -105,4 +111,4 @@ public override string ObjectToSQLString(object value, Dialect.Dialect dialect)
105111
return value.ToString();
106112
}
107113
}
108-
}
114+
}

0 commit comments

Comments
 (0)