Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace
Tortuga.Chain.SqlServer Namespace

SqlServerDataSourceSettings..::..DefaultStringType Property

Gets or sets the default type of string parameters. This is used when the query builder cannot determine the best parameter type.

Namespace:  Tortuga.Chain.SqlServer
Assembly:  Tortuga.Chain.SqlServer.OleDb (in Tortuga.Chain.SqlServer.OleDb.dll)

Syntax


public Nullable<SqlDbType> DefaultStringType { get; set; }
Public Property DefaultStringType As Nullable(Of SqlDbType)
	Get
	Set
public:
property Nullable<SqlDbType^> DefaultStringType {
	Nullable<SqlDbType^> get ();
	void set (Nullable<SqlDbType^> value);
}

Remarks


Set this if encountering performance issues from type conversions in the execution plan.