Hi,
While working on a project, i came across to a scenario where i have to ignore table creation for a spesific class using fluentnhibernate.
Scenario
I have an existing table aspnet_Users and I have a class Person that has all the attributes of the table as property, ie: UserName, Password, LastLoginDate.
Now I need to configure FluentNhibernate to map the Personnel class to aspnet_Users table. There is no problems until here. I can easly map the Personnel to aspnet_Users table as shown below:
.Override<Personnel>(x=>x.Id(y=>y.PersonnelId))
The problem is that, it also creates the table and i dont want this. How can i tell fluentnhibernate to ignore table creation for this Personnel class?
If i call IgnoreBase() function, then i will have different problems in other parts of the application.
Any help is appreciated.
Thanks in advance.