Click or drag to resize

DataSourceExtensionsSetWrappedPlainSQLQuerySpecificationT Method

Sets the wrapped plain sql query specification on the datasource specified.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static T SetWrappedPlainSQLQuerySpecification<T>(
	this T toSet,
	string sqlQuery,
	Object parameterValues
)
where T : IDataSource

Parameters

toSet
Type: T
sqlQuery
Type: SystemString
parameterValues
Type: SystemObject

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullException
See Also