/// <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)); }
/// <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)); }
/// <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)); }
/// <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)); }
/// <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)); }
/// <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)); }