I would like to design a C# application to store emlployees data, I have around 500 employees. I want to store also pdf scanned profile of each employee. I am planing to use PostgreSQL. Is it practical to store the pdf scanned profiles in the database? Do I need to use blob data-type?
I would like to design a C# application to store emlployees data, I have
Share
Assuming that PDF is not going to be very large (probably less than 5MB I assume) it is ok. You should use type
BYTEAfor this.Read more about how to use Npgsql: .NET Postgresql driver (scroll to Working with binary data and bytea datatype)