Click or drag to resize

DataContextQueryTModel Method (String, Object)

Execute a stored procedure transposing the result set back to TModel

Namespace:  SanteDB.OrmLite
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax
public IEnumerable<TModel> Query<TModel>(
	string spName,
	params Object[] arguments
)

Parameters

spName
Type: SystemString

[Missing <param name="spName"/> documentation for "M:SanteDB.OrmLite.DataContext.Query``1(System.String,System.Object[])"]

arguments
Type: SystemObject

[Missing <param name="arguments"/> documentation for "M:SanteDB.OrmLite.DataContext.Query``1(System.String,System.Object[])"]

Type Parameters

TModel

[Missing <typeparam name="TModel"/> documentation for "M:SanteDB.OrmLite.DataContext.Query``1(System.String,System.Object[])"]

Return Value

Type: IEnumerableTModel

[Missing <returns> documentation for "M:SanteDB.OrmLite.DataContext.Query``1(System.String,System.Object[])"]

See Also