DbFactoryGetListT Method (String, Boolean, IDbDataParameter) |
返回一个数据对象集
Namespace: Adf.DbAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntaxpublic virtual List<T> GetList<T>(
string sqlString,
bool storedProcedure,
params IDbDataParameter[] parames
)
where T : IDbEntity
Public Overridable Function GetList(Of T As IDbEntity) (
sqlString As String,
storedProcedure As Boolean,
ParamArray parames As IDbDataParameter()
) As List(Of T)
public:
generic<typename T>
where T : IDbEntity
virtual List<T>^ GetList(
String^ sqlString,
bool storedProcedure,
... array<IDbDataParameter^>^ parames
)
abstract GetList :
sqlString : string *
storedProcedure : bool *
parames : IDbDataParameter[] -> List<'T> when 'T : IDbEntity
override GetList :
sqlString : string *
storedProcedure : bool *
parames : IDbDataParameter[] -> List<'T> when 'T : IDbEntity
Parameters
- sqlString
- Type: SystemString
查询语句 - storedProcedure
- Type: SystemBoolean
是否为存储过程 - parames
- Type: System.DataIDbDataParameter
参数列表
Type Parameters
- T
- 对象类型
Return Value
Type:
ListT[Missing <returns> documentation for "M:Adf.Db.DbFactory.GetList``1(System.String,System.Boolean,System.Data.IDbDataParameter[])"]
Implements
IDbFactoryGetListT(String, Boolean, IDbDataParameter)
See Also