Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9307713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T00:27:12+00:00 2026-06-19T00:27:12+00:00

I have an entity with datetime property ImageModifiedDate which stores image last modification date.

  • 0

I have an entity with datetime property ImageModifiedDate which stores image last modification date. If I change the image can this property be updated automatically somehow? I mean can this property be bound to the file (the image) and can it be changed (automatically) when the actual file changes?

I need this in asp.net mvc 3 app, but I think it can also be marked as c# question.

Edited: I store images on the filestream, not in the database

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T00:27:13+00:00Added an answer on June 19, 2026 at 12:27 am

    It would seem that you have a problem in two pieces: updating the last modification date in the database, and knowing that the database has changed, then displaying the changes.

    For the first, create a Windows Service or such program and have it use a FileSystemWatcher to watch for file changes. It can then update the database with the new information.

    As to displaying the changes in the web application, you can have the application poll via AJAX and just update the HTML that displays the date. This way, you won’t have to update the whole page just when a date changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple entity class that has a Date property. This property corresponds
I have an Entity with the following property: [ScriptIgnore] public DateTime Date { get
I have a list of a very simply entity, which has a nullable DateTime
problem is this, i have a property in entity: public bool Expired { get
I'm trying to add entity to SQL CE 4 which have property of type
I have MVC3 project with Entity. I have Data Annotation on DateTime property with
I have an entity called Billings with a property of DateTime. I need to
I have this entity service in my domain model with two datetime type properties
We have an entity with DateTime property DateDestroyed . A query needs to return
I have an Entity Frameworks POCO that has a property defined like this: [RegularExpression(ValidationHelper.RegularExpressionForDateOnly)]

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.