Map the same entity for table and view #503
              
                Unanswered
              
          
                  
                    
                      Karine-GitHub
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to map a MySQL view using FluentNHibernate.
Config:
My mapping for the view:
My mapping for the table:
My Repository call:
The error stack :
Sql script to create the view :
CREATE VIEW `oncolin_v3_dev`.`patientsearch` AS (SELECT `ClinicalPatientId`, `Pseudonyme`, ... FROM `oncolin_v3_dev`.`patient`);The ddl information :
What I'm doing wrong please ?
Beta Was this translation helpful? Give feedback.
All reactions