Committing a large amount of work
This commit is contained in:
@@ -74,7 +74,8 @@ namespace Swarmops.Database
|
||||
|
||||
string sqlQuery =
|
||||
"SELECT Documents.DocumentId,Documents.ServerFileName,Documents.ClientFileName,Documents.Description,DocumentTypes.Name AS DocumentType,Documents.ForeignId,Documents.FileSize,Documents.UploadedByPersonId,Documents.UploadedDateTime From Documents,DocumentTypes " +
|
||||
"WHERE Documents.Description = '" + description.Replace ("'", "''") + "' AND " +
|
||||
"WHERE Documents.DocumentTypeId=DocumentTypes.DocumentTypeId AND " +
|
||||
"Documents.Description = '" + description.Replace("'", "''") + "' AND " +
|
||||
"Documents.UploadedDateTime > '" + DateTime.UtcNow.AddDays (-1).ToString ("yyyy-MM-dd HH:mm") + "'";
|
||||
|
||||
DbCommand command = GetDbCommand(sqlQuery, connection);
|
||||
|
||||
Reference in New Issue
Block a user