Пример #1
0
        // 添加到集合中
        private void CreateParameters(DbType dbtype, string parameterName, object parameterValue, ParameterDirection parameterDirection)
        {
            DbParameterStruct structs = new DbParameterStruct();

            structs.DBtype             = dbtype;
            structs.parameterDirection = parameterDirection;
            structs.ParameterName      = parameterName;
            structs.ParameterValue     = parameterValue;
            paraList.Add(structs);
        }
Пример #2
0
 // 添加到集合中
 private void CreateParameters(DbType dbtype, string parameterName, object parameterValue, ParameterDirection parameterDirection)
 {
     DbParameterStruct structs = new DbParameterStruct();
     structs.DBtype = dbtype;
     structs.parameterDirection = parameterDirection;
     structs.ParameterName = parameterName;
     structs.ParameterValue = parameterValue;
     paraList.Add(structs);
 }