@@ -229,5 +229,17 @@ namespace SqlCE4Umbraco
|
||||
return new SqlCeDataReaderHelper(SqlCeApplicationBlock.ExecuteReader(ConnectionString, CommandType.Text,
|
||||
commandText, parameters));
|
||||
}
|
||||
|
||||
|
||||
internal IRecordsReader ExecuteReader(string commandText)
|
||||
{
|
||||
return ExecuteReader(commandText, new SqlCEParameter(string.Empty, string.Empty));
|
||||
}
|
||||
|
||||
|
||||
internal int ExecuteNonQuery(string commandText)
|
||||
{
|
||||
return ExecuteNonQuery(commandText, new SqlCEParameter(string.Empty, string.Empty));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -234,7 +234,7 @@ namespace umbraco.DataLayer
|
||||
throw new SqlHelperException("ExecuteNonQuery", commandText, parameters, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Executes a command and returns a records reader containing the results.
|
||||
/// </summary>
|
||||
@@ -258,7 +258,7 @@ namespace umbraco.DataLayer
|
||||
throw new SqlHelperException("ExecuteReader", commandText, parameters, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Executes a command that returns an XML value.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user