<div dir="ltr">This looks good to me!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 1, 2014 at 11:38 AM, Neale Ferguson <span dir="ltr"><<a href="mailto:NealeFerguson@verizon.net" target="_blank">NealeFerguson@verizon.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Proposing the following. Comments?<br>
<br>
--- a/mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs<br>
+++ b/mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs<br>
@@ -594,6 +594,10 @@ namespace System.Data.SqlClient {<br>
                               MetaParameter.TypeName =3D "datetime";<br>
                               sqlDbType =3D SqlDbType.DateTime;<br>
                               break;<br>
+                       case DbType.DateTime2:<br>
+                               MetaParameter.TypeName =3D "datetime2";<br>
+                               sqlDbType =3D SqlDbType.DateTime2;<br>
+                               break;<br>
                       case DbType.Decimal:<br>
                               MetaParameter.TypeName =3D "decimal";<br>
                               sqlDbType =3D SqlDbType.Decimal;<br>
diff --git =<br>
a/mcs/class/System.Web/System.Web.Security/SqliteMembershipProvider.cs =<br>
b/mcs/class/System.Web<br>
/System.Web.Security/SqliteMembershipProvider.cs<br>
index 2acff57..b56308c 100644<br>
--- =<br>
a/mcs/class/System.Web/System.Web.Security/SqliteMembershipProvider.cs<br>
+++ =<br>
b/mcs/class/System.Web/System.Web.Security/SqliteMembershipProvider.cs<br>
@@ -762,6 +762,7 @@ namespace System.Web.Security<br>
                                               dbCommand.Prepare();<br>
=20<br>
                                               numOnline =3D =<br>
(int)dbCommand.ExecuteScalar();<br>
+                                               =<br>
Int32.TryParse(dbCommand.ExecuteScalar().ToString(), out<br>
numOnline);<br>
                                       }<br>
                                       catch (SqliteException e)<br>
                                       {<br>
_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
</blockquote></div><br></div>