Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not that I've ever used structuremap but the Spring.NET providername "System.Data.SqlClient" is mapped in Spring.NET 1.3.1 to the xml configuration posted below as available in the Spring.NET source code. You can extract the pieces of information (probably the type names are the ones you're looking for) as needed.</p> <pre><code>&lt;object id="SqlServer-2.0" type="Spring.Data.Common.DbProvider, Spring.Data" singleton="false"&gt; &lt;constructor-arg name="dbMetaData"&gt; &lt;object type="Spring.Data.Common.DbMetadata"&gt; &lt;constructor-arg name="productName" value="Microsoft SQL Server, provider V2.0.0.0 in framework .NET V2.0" /&gt; &lt;constructor-arg name="assemblyName" value="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt; &lt;constructor-arg name="connectionType" value="System.Data.SqlClient.SqlConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt; &lt;constructor-arg name="commandType" value="System.Data.SqlClient.SqlCommand, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt; &lt;constructor-arg name="parameterType" value="System.Data.SqlClient.SqlParameter, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt; &lt;constructor-arg name="dataAdapterType" value="System.Data.SqlClient.SqlDataAdapter, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt; &lt;constructor-arg name="commandBuilderType" value="System.Data.SqlClient.SqlCommandBuilder, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt; &lt;constructor-arg name="commandBuilderDeriveParametersMethod" value="DeriveParameters"/&gt; &lt;constructor-arg name="parameterDbType" value="System.Data.SqlDbType, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt; &lt;constructor-arg name="parameterDbTypeProperty" value="SqlDbType"/&gt; &lt;constructor-arg name="parameterIsNullableProperty" value="IsNullable"/&gt; &lt;constructor-arg name="parameterNamePrefix" value="@"/&gt; &lt;constructor-arg name="exceptionType" value="System.Data.SqlClient.SqlException, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt; &lt;constructor-arg name="useParameterNamePrefixInParameterCollection" value="true"/&gt; &lt;constructor-arg name="useParameterPrefixInSql" value="true"/&gt; &lt;constructor-arg name="bindByName" value="true"/&gt; &lt;!-- this is only true for .net 1.1 kept it here just in case we want to revert back to this strategy for obtaining error codes--&gt; &lt;constructor-arg name="errorCodeExceptionExpression" value="Errors[0].Number.ToString()"/&gt; &lt;!-- TODO select form system db all errors that have 'incorrect syntax' at the start of the error string--&gt; &lt;property name="ErrorCodes.BadSqlGrammarCodes"&gt; &lt;value&gt;156,170,207,208&lt;/value&gt; &lt;/property&gt; &lt;property name="ErrorCodes.PermissionDeniedCodes"&gt; &lt;value&gt;229&lt;/value&gt; &lt;/property&gt; &lt;property name="ErrorCodes.DataIntegrityViolationCodes"&gt; &lt;value&gt;544,2627,8114,8115&lt;/value&gt; &lt;/property&gt; &lt;property name="ErrorCodes.DeadlockLoserCodes"&gt; &lt;value&gt;1205&lt;/value&gt; &lt;/property&gt; &lt;/object&gt; &lt;/constructor-arg&gt; &lt;/object&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload