예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="paramName"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public override IDataParameter CreateParameterByBlob(string paramName, object value)
 {
     return(SqlParamHelper.MakeInParam(paramName, SqlDbType.VarBinary, 0, value));
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="paramName"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public override IDataParameter CreateParameterLongBlob(string paramName, object value)
 {
     return(SqlParamHelper.MakeInParam(paramName, SqlDbType.Image, 0, value));
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="paramName"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public override IDataParameter CreateParameterByText(string paramName, object value)
 {
     return(SqlParamHelper.MakeInParam(paramName, SqlDbType.Text, 0, value));
 }
예제 #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="paramName"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public override IDataParameter CreateParameterByGuid(string paramName, object value)
 {
     return(SqlParamHelper.MakeInParam(paramName, SqlDbType.UniqueIdentifier, 0, value));
 }
예제 #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="paramName"></param>
 /// <param name="dbType"></param>
 /// <param name="size"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public override IDataParameter CreateParameter(string paramName, int dbType, int size, object value)
 {
     return(SqlParamHelper.MakeInParam(paramName, (SqlDbType)dbType, size, value));
 }
예제 #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="paramName"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public override IDataParameter CreateParameter(string paramName, object value)
 {
     return(SqlParamHelper.MakeInParam(paramName, value));
 }