[Function(Name="dbo.Search")] public int Search([Parameter(Name="KeyWord", DbType="NVarChar(100)")] string keyWord, [Parameter(Name="PageSize", DbType="Int")] System.Nullable<int> pageSize, [Parameter(Name="PageIndex", DbType="Int")] System.Nullable<int> pageIndex, [Parameter(Name="Separator", DbType="VarChar(50)")] string separator, [Parameter(Name="Endmark", DbType="VarChar(50)")] string endmark, [Parameter(Name="PQCSql", DbType="VarChar(2000)")] string pQCSql) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), keyWord, pageSize, pageIndex, separator, endmark, pQCSql); return ((int)(result.ReturnValue)); }
[ResultType(SRes)]
‘’ is a type but is used as a variable
[Function(Name="dbo.Search")] [ResultType(typeof(MvcConnection.Controllers.SRes))] public IMultipleResults Search([Parameter(Name="KeyWord", DbType="NVarChar(100)")] string keyWord, [Parameter(Name="PageSize", DbType="Int")] System.Nullable<int> pageSize, [Parameter(Name="PageIndex", DbType="Int")] System.Nullable<int> pageIndex, [Parameter(Name="Separator", DbType="VarChar(50)")] string separator, [Parameter(Name="Endmark", DbType="VarChar(50)")] string endmark, [Parameter(Name="PQCSql", DbType="VarChar(2000)")] string pQCSql) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), keyWord, pageSize, pageIndex, separator, endmark, pQCSql); return ((IMultipleResults)(result.ReturnValue)); }