title: Limit the size of a long?
body: <p>I have a table in the (oracle) database that has a column of <code>NUMBER(12)</code>. I can't use <code>int</code> in C# because that is small, so I used <code>long</code>. But <code>long</code> is too big for this table column. Is there any way to limit the size of a <code>long</code> before I send the data to the database? Otherwise I will get an error ORA-21525, since I exceed the size of the table column. The data send to the database is actually a <code>List&lt;long&gt;</code>.</p>