-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from soft-eng-practicum/filesToPostgre
shifted blobfiles from azure to postgre
- Loading branch information
Showing
39 changed files
with
4,148 additions
and
792 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Core.Entities; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations.Schema; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Analysim.Core.Entities | ||
{ | ||
public class BlobFileContent | ||
{ | ||
[KeyAttribute] | ||
[ForeignKey("BlobFile")] | ||
public int BlobFileID { get; set; } | ||
public BlobFile BlobFile { get; set; } | ||
|
||
[Required(ErrorMessage = "Blobfile content is a required field.")] | ||
public byte[] Content { get; set; } | ||
|
||
[Required(ErrorMessage = "BlobFile Date is a required field.")] | ||
public DateTimeOffset DateCreated { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.