Index: ActiveRecord/Castle.ActiveRecord/Attributes/AnyAttribute.cs
===================================================================
--- ActiveRecord/Castle.ActiveRecord/Attributes/AnyAttribute.cs (revision 4999)
+++ ActiveRecord/Castle.ActiveRecord/Attributes/AnyAttribute.cs (working copy)
@@ -195,6 +195,42 @@
{
this.value = value;
this.clazz = clazz;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ /// Allows a byte to be used as a meta-value
+ ///
+ /// The value.
+ /// The clazz.
+ public MetaValueAttribute(byte value, Type clazz)
+ {
+ this.value = value.ToString();
+ this.clazz = clazz;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ /// Allows a short to be used as a meta-value
+ ///
+ /// The value.
+ /// The clazz.
+ public MetaValueAttribute(short value, Type clazz)
+ {
+ this.value = value.ToString();
+ this.clazz = clazz;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ /// Allows a int to be used as a meta-value
+ ///
+ /// The value.
+ /// The clazz.
+ public MetaValueAttribute(int value, Type clazz)
+ {
+ this.value = value.ToString();
+ this.clazz = clazz;
}
///