jebus wrote:
The where will work for retrieving them, but is not going to help with inserts
Ok, this is fair enough. To answer that then, I say don't map just a type of integers. Instead map your own type. Maybe you could even do something like this MyType<Int32>. Have a generic type with the properties which you need to manage the collection. Have a PropertName on the MyType class. Have a value property on there as well which is of the generic type. You could then map that type and have a collection of value types containing integers. This way it is somewhat close to what you want. You still have value type semantics, and you can use it with all of your types (integers, floating points, etc). You could still use the where clause for the retrieval, you'll just be responsible for setting the property name on the new type.