you can use the byte [] data type for your objects, for Sql you can use varbinary (max) (since the image data type will be removed from a future version of sql. MSDN - Image data type
public byte[] yourFiles{get;set;}
you can configure it using free api
modelBuilder.Entity<SomePOCOClass>().Property(p => p.yourFiles).HasColumnName("yourColumnName").HasMaxLength(SomeLength).HasColumnType("varbinary");
source share