When i bind database with my application using entity framework it show data on datagrid but when i do changes in database externally it does not reflect in datagrid.i need a code for which synchronize the database with my datagrid.so i can reflect any modification done in database then it will automatically update the datagrid.
            Asked
            
        
        
            Active
            
        
            Viewed 118 times
        
    1
            
            
        - 
                    I am not an expert into entity-frameworks but from the problem, I think its mostly because of the cache. Check if entity-framework is caching any data previously retrieved. – Rahul Shelke Oct 06 '16 at 06:38
- 
                    Are you talking about structural changes like adding a column or a table? Or do you mean data, like adding or changing rows? – Sentry Oct 06 '16 at 10:18
1 Answers
1
            
            
        Update you edmx file. When you modify DB you need to update your.edmx file. Follow following link to update edmx.
 
    
    
        Community
        
- 1
- 1
 
    
    
        Vaibhav Bhatia
        
- 528
- 1
- 4
- 12
