| 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
)
Public Function Query(Of TModel) (
spName As String,
ParamArray arguments As Object()
) As IEnumerable(Of TModel)
public:
generic<typename TModel>
IEnumerable<TModel>^ Query(
String^ spName,
... array<Object^>^ arguments
)
member Query :
spName : string *
arguments : Object[] -> IEnumerable<'TModel>
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