zoukankan      html  css  js  c++  java
  • DBML存储过程返回值

    		[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));
    		}
  • 相关阅读:
    <整理> 在Bash中添加个人定制的命令
    <整理> linux常用命令及工具
    论文分享:目标检测-YOLO
    Siamese Attentional Keypoint Network for High Performance Visual Tracking--论文笔记
    ubuntu 相关软件设置
    anoconda 神经网络 相关操作
    转载:决策树算法梳理
    转载:XGBOOST算法梳理
    XGB算法梳理
    决策树算法梳理
  • 原文地址:https://www.cnblogs.com/chinaniit/p/1557347.html
Copyright © 2011-2022 走看看