Aziz
Aziz

Reputation: 1614

Entity Framework How to Add "Image" to database

I am using asp.net 4.0 and Mvc3 utilizing the entity modeler. How do I create an entry that is an image?

For example, I want the user to upload an image and then save it in my database.

Upvotes: 0

Views: 927

Answers (1)

Ray
Ray

Reputation: 4108

It is not different from when using pure ado.net. Just decide whether save image into hard disk with path in the database, or blob in the database

Upvotes: 1

Related Questions