Hi, 
thanks for a great job.

But unfortunately I'm still getting exception when trying to use lazy 
properties.

See details in attachments

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/lEQa-CnXO4MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

[4340] NHibernate.Impl.SessionImpl: [14] DEBUG [NHibernate.Impl.SessionImpl] - 
[session-id=db00ae2b-7471-4400-83fd-aba099c6af3c] opened session at timestamp: 
5360610447511552, for session factory: [/83de749445864249b43202ca4df98a9a] 
[4340] NHibernate.Transaction.AdoTransaction: [14] DEBUG 
[NHibernate.Transaction.AdoTransaction] - Begin (Unspecified) 
[4340] NHibernate.Connection.DriverConnectionProvider: [14] DEBUG 
[NHibernate.Connection.DriverConnectionProvider] - Obtaining IDbConnection from 
Driver 
[4340] NHibernate.Impl.SessionImpl: [14] DEBUG [NHibernate.Impl.SessionImpl] - 
setting cache mode to: Normal 
[4340] NHibernate.Loader.Criteria.CriteriaQueryTranslator: [14] DEBUG 
[NHibernate.Loader.Criteria.CriteriaQueryTranslator] - put criteria=Email = 
[email protected] and IsDeleted = False alias=this0_ 
[4340] NHibernate.Loader.Criteria.CriteriaQueryTranslator: [14] DEBUG 
[NHibernate.Loader.Criteria.CriteriaQueryTranslator] - returning alias=this_ 
for criteria=Email = [email protected] and IsDeleted = False 
[4340] NHibernate.Loader.Criteria.CriteriaQueryTranslator: [14] DEBUG 
[NHibernate.Loader.Criteria.CriteriaQueryTranslator] - returning alias=this_ 
for criteria=Email = [email protected] and IsDeleted = False 
[4340] NHibernate.Loader.Criteria.CriteriaQueryTranslator: [14] DEBUG 
[NHibernate.Loader.Criteria.CriteriaQueryTranslator] - getCriteria for 
path=Role crit= 
[4340] NHibernate.Loader.Criteria.CriteriaQueryTranslator: [14] DEBUG 
[NHibernate.Loader.Criteria.CriteriaQueryTranslator] - getCriteria for path=Car 
crit= 
[4340] NHibernate.Loader.Criteria.CriteriaQueryTranslator: [14] DEBUG 
[NHibernate.Loader.Criteria.CriteriaQueryTranslator] - getCriteria for 
path=Preferences crit= 
[4340] NHibernate.SqlCommand.SqlSelectBuilder: [14] DEBUG 
[NHibernate.SqlCommand.SqlSelectBuilder] - The initial capacity was set too low 
at: 14 for the SelectSqlBuilder that needed a capacity of: 18 for the table 
dbo.[User] this_ 
[4340] NHibernate.Cache.StandardQueryCache: [14] DEBUG 
[NHibernate.Cache.StandardQueryCache] - checking cached query results in 
region: 'NHibernate.Cache.StandardQueryCache'; sql: SELECT this_.ID as ID14_3_, 
this_.CreatedDateTime as CreatedD2_14_3_, this_.LastAccessDateTime as 
LastAcce3_14_3_, this_.UserRoleID as UserRoleID14_3_, this_.Email as 
Email14_3_, this_.Password as Password14_3_, this_.NickName as NickName14_3_, 
this_.FirstName as FirstName14_3_, this_.LastName as LastName14_3_, 
this_.MobilePhone as MobileP10_14_3_, this_.MobilePhone2 as MobileP11_14_3_, 
this_.IsFirstNameVisible as IsFirst12_14_3_, this_.IsLastNameVisible as 
IsLastN13_14_3_, this_.IsMobilePhoneVisible as IsMobil14_14_3_, 
this_.IsMobilePhone2Visible as IsMobil15_14_3_, this_.IsMale as IsMale14_3_, 
this_.BirthdayYear as Birthda17_14_3_, this_.InhabitedLocalityID as 
Inhabit18_14_3_, this_.Avatar as Avatar14_3_, this_.AvatarFileName as 
AvatarF20_14_3_, this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userprefer4_.UserID WHERE 
this_.Email = ? and this_.IsDeleted = ?; parameters: []; named parameters: 
{'cp0'='[email protected]', 'cp1'='False'}; first row: 0 
[4340] NHibernate.Caches.SysCache.SysCache: [14] DEBUG 
[NHibernate.Caches.SysCache.SysCache] - Fetching object 
'NHibernate-Cache:NHibernate.Cache.StandardQueryCache:sql: SELECT this_.ID as 
ID14_3_, this_.CreatedDateTime as CreatedD2_14_3_, this_.LastAccessDateTime as 
LastAcce3_14_3_, this_.UserRoleID as UserRoleID14_3_, this_.Email as 
Email14_3_, this_.Password as Password14_3_, this_.NickName as NickName14_3_, 
this_.FirstName as FirstName14_3_, this_.LastName as LastName14_3_, 
this_.MobilePhone as MobileP10_14_3_, this_.MobilePhone2 as MobileP11_14_3_, 
this_.IsFirstNameVisible as IsFirst12_14_3_, this_.IsLastNameVisible as 
IsLastN13_14_3_, this_.IsMobilePhoneVisible as IsMobil14_14_3_, 
this_.IsMobilePhone2Visible as IsMobil15_14_3_, this_.IsMale as IsMale14_3_, 
this_.BirthdayYear as Birthda17_14_3_, this_.InhabitedLocalityID as 
Inhabit18_14_3_, this_.Avatar as Avatar14_3_, this_.AvatarFileName as 
AvatarF20_14_3_, this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userprefer4_.UserID WHERE 
this_.Email = ? and this_.IsDeleted = ?; parameters: []; named parameters: 
{'cp0'='[email protected]', 'cp1'='False'}; first row: 0@-632826939' from the 
cache. 
[4340] NHibernate.Cache.StandardQueryCache: [14] DEBUG 
[NHibernate.Cache.StandardQueryCache] - query results were not found in cache: 
sql: SELECT this_.ID as ID14_3_, this_.CreatedDateTime as CreatedD2_14_3_, 
this_.LastAccessDateTime as LastAcce3_14_3_, this_.UserRoleID as 
UserRoleID14_3_, this_.Email as Email14_3_, this_.Password as Password14_3_, 
this_.NickName as NickName14_3_, this_.FirstName as FirstName14_3_, 
this_.LastName as LastName14_3_, this_.MobilePhone as MobileP10_14_3_, 
this_.MobilePhone2 as MobileP11_14_3_, this_.IsFirstNameVisible as 
IsFirst12_14_3_, this_.IsLastNameVisible as IsLastN13_14_3_, 
this_.IsMobilePhoneVisible as IsMobil14_14_3_, this_.IsMobilePhone2Visible as 
IsMobil15_14_3_, this_.IsMale as IsMale14_3_, this_.BirthdayYear as 
Birthda17_14_3_, this_.InhabitedLocalityID as Inhabit18_14_3_, this_.Avatar as 
Avatar14_3_, this_.AvatarFileName as AvatarF20_14_3_, 
this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userprefer4_.UserID WHERE 
this_.Email = ? and this_.IsDeleted = ?; parameters: []; named parameters: 
{'cp0'='[email protected]', 'cp1'='False'}; first row: 0 
[4340] NHibernate.AdoNet.AbstractBatcher: [14] DEBUG 
[NHibernate.AdoNet.AbstractBatcher] - Opened new IDbCommand, open IDbCommands: 
1 
[4340] NHibernate.AdoNet.AbstractBatcher: [14] DEBUG 
[NHibernate.AdoNet.AbstractBatcher] - Building an IDbCommand object for the 
SqlString: SELECT this_.ID as ID14_3_, this_.CreatedDateTime as 
CreatedD2_14_3_, this_.LastAccessDateTime as LastAcce3_14_3_, this_.UserRoleID 
as UserRoleID14_3_, this_.Email as Email14_3_, this_.Password as Password14_3_, 
this_.NickName as NickName14_3_, this_.FirstName as FirstName14_3_, 
this_.LastName as LastName14_3_, this_.MobilePhone as MobileP10_14_3_, 
this_.MobilePhone2 as MobileP11_14_3_, this_.IsFirstNameVisible as 
IsFirst12_14_3_, this_.IsLastNameVisible as IsLastN13_14_3_, 
this_.IsMobilePhoneVisible as IsMobil14_14_3_, this_.IsMobilePhone2Visible as 
IsMobil15_14_3_, this_.IsMale as IsMale14_3_, this_.BirthdayYear as 
Birthda17_14_3_, this_.InhabitedLocalityID as Inhabit18_14_3_, this_.Avatar as 
Avatar14_3_, this_.AvatarFileName as AvatarF20_14_3_, 
this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userprefer4_.UserID WHERE 
this_.Email = ? and this_.IsDeleted = ? 
[4340] NHibernate.Type.StringType: [14] DEBUG [NHibernate.Type.StringType] - 
binding '[email protected]' to parameter: 0 
[4340] NHibernate.Type.BooleanType: [14] DEBUG [NHibernate.Type.BooleanType] - 
binding 'False' to parameter: 1 
[4340] NHibernate.Loader.Loader: [14] INFO  [NHibernate.Loader.Loader] - SELECT 
this_.ID as ID14_3_, this_.CreatedDateTime as CreatedD2_14_3_, 
this_.LastAccessDateTime as LastAcce3_14_3_, this_.UserRoleID as 
UserRoleID14_3_, this_.Email as Email14_3_, this_.Password as Password14_3_, 
this_.NickName as NickName14_3_, this_.FirstName as FirstName14_3_, 
this_.LastName as LastName14_3_, this_.MobilePhone as MobileP10_14_3_, 
this_.MobilePhone2 as MobileP11_14_3_, this_.IsFirstNameVisible as 
IsFirst12_14_3_, this_.IsLastNameVisible as IsLastN13_14_3_, 
this_.IsMobilePhoneVisible as IsMobil14_14_3_, this_.IsMobilePhone2Visible as 
IsMobil15_14_3_, this_.IsMale as IsMale14_3_, this_.BirthdayYear as 
Birthda17_14_3_, this_.InhabitedLocalityID as Inhabit18_14_3_, this_.Avatar as 
Avatar14_3_, this_.AvatarFileName as AvatarF20_14_3_, 
this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userprefer4_.UserID WHERE 
this_.Email = @p0 and this_.IsDeleted = @p1 
[4340] NHibernate.SQL: [14] DEBUG [NHibernate.SQL] - SELECT this_.ID as 
ID14_3_, this_.CreatedDateTime as CreatedD2_14_3_, this_.LastAccessDateTime as 
LastAcce3_14_3_, this_.UserRoleID as UserRoleID14_3_, this_.Email as 
Email14_3_, this_.Password as Password14_3_, this_.NickName as NickName14_3_, 
this_.FirstName as FirstName14_3_, this_.LastName as LastName14_3_, 
this_.MobilePhone as MobileP10_14_3_, this_.MobilePhone2 as MobileP11_14_3_, 
this_.IsFirstNameVisible as IsFirst12_14_3_, this_.IsLastNameVisible as 
IsLastN13_14_3_, this_.IsMobilePhoneVisible as IsMobil14_14_3_, 
this_.IsMobilePhone2Visible as IsMobil15_14_3_, this_.IsMale as IsMale14_3_, 
this_.BirthdayYear as Birthda17_14_3_, this_.InhabitedLocalityID as 
Inhabit18_14_3_, this_.Avatar as Avatar14_3_, this_.AvatarFileName as 
AvatarF20_14_3_, this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userprefer4_.UserID WHERE 
this_.Email = @p0 and this_.IsDeleted = @p1;@p0 = '[email protected]' [Type: String 
(50)], @p1 = False [Type: Boolean (0)] 
[4340] NHibernate.Transaction.AdoTransaction: [14] DEBUG 
[NHibernate.Transaction.AdoTransaction] - Enlist Command 
[4340] NHibernate.AdoNet.AbstractBatcher: [14] DEBUG 
[NHibernate.AdoNet.AbstractBatcher] - ExecuteReader took 0 ms 
[4340] NHibernate.AdoNet.AbstractBatcher: [14] DEBUG 
[NHibernate.AdoNet.AbstractBatcher] - Opened IDataReader, open IDataReaders: 1 
[4340] NHibernate.Loader.Loader: [14] DEBUG [NHibernate.Loader.Loader] - 
processing result set 
[4340] NHibernate.Loader.Loader: [14] DEBUG [NHibernate.Loader.Loader] - result 
set row: 0 
[4340] NHibernate.Type.Int32Type: [14] DEBUG [NHibernate.Type.Int32Type] - 
returning '1' as column: ID15_0_ 
[4340] NHibernate.Type.Int32Type: [14] DEBUG [NHibernate.Type.Int32Type] - 
returning '29' as column: UserID4_1_ 
[4340] NHibernate.Type.Int32Type: [14] DEBUG [NHibernate.Type.Int32Type] - 
returning '29' as column: UserID7_2_ 
[4340] NHibernate.Type.Int32Type: [14] DEBUG [NHibernate.Type.Int32Type] - 
returning '29' as column: ID14_3_ 
[4340] NHibernate.Loader.Loader: [14] DEBUG [NHibernate.Loader.Loader] - result 
row: EntityKey[Proj.Core.Entities.UserRole#1], 
EntityKey[Proj.Core.Entities.UserCar#29], 
EntityKey[Proj.Core.Entities.UserPreferences#29], 
EntityKey[Proj.Core.Entities.User#29] 
[4340] NHibernate.Loader.Loader: [14] DEBUG [NHibernate.Loader.Loader] - 
Initializing object from DataReader: [Proj.Core.Entities.UserRole#1] 
[4340] NHibernate.Persister.Entity.AbstractEntityPersister: [14] DEBUG 
[NHibernate.Persister.Entity.AbstractEntityPersister] - Hydrating entity: 
[Proj.Core.Entities.UserRole#1] 
[4340] NHibernate.Type.StringType: [14] DEBUG [NHibernate.Type.StringType] - 
returning 'RegisteredMember' as column: Name15_0_ 
[4340] NHibernate.Driver.NHybridDataReader: [14] DEBUG 
[NHibernate.Driver.NHybridDataReader] - running NHybridDataReader.Dispose() 
[4340] NHibernate.AdoNet.AbstractBatcher: [14] DEBUG 
[NHibernate.AdoNet.AbstractBatcher] - Closed IDataReader, open IDataReaders :0 
[4340] NHibernate.AdoNet.AbstractBatcher: [14] DEBUG 
[NHibernate.AdoNet.AbstractBatcher] - DataReader was closed after 3 ms 
[4340] NHibernate.AdoNet.AbstractBatcher: [14] DEBUG 
[NHibernate.AdoNet.AbstractBatcher] - Closed IDbCommand, open IDbCommands: 0 
[4340] NHibernate.Util.ADOExceptionReporter: [14] DEBUG 
[NHibernate.Util.ADOExceptionReporter] - could not execute query 
[4340] [ SELECT this_.ID as ID14_3_, this_.CreatedDateTime as CreatedD2_14_3_, 
this_.LastAccessDateTime as LastAcce3_14_3_, this_.UserRoleID as 
UserRoleID14_3_, this_.Email as Email14_3_, this_.Password as Password14_3_, 
this_.NickName as NickName14_3_, this_.FirstName as FirstName14_3_, 
this_.LastName as LastName14_3_, this_.MobilePhone as MobileP10_14_3_, 
this_.MobilePhone2 as MobileP11_14_3_, this_.IsFirstNameVisible as 
IsFirst12_14_3_, this_.IsLastNameVisible as IsLastN13_14_3_, 
this_.IsMobilePhoneVisible as IsMobil14_14_3_, this_.IsMobilePhone2Visible as 
IsMobil15_14_3_, this_.IsMale as IsMale14_3_, this_.BirthdayYear as 
Birthda17_14_3_, this_.InhabitedLocalityID as Inhabit18_14_3_, this_.Avatar as 
Avatar14_3_, this_.AvatarFileName as AvatarF20_14_3_, 
this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userprefer4_.UserID WHERE 
this_.Email = @p0 and this_.IsDeleted = @p1 ] 
[4340]   Name:cp0 - Value:[email protected]  Name:cp1 - Value:False 
[4340]  
[4340] System.NotSupportedException: Specified method is not supported. 
[4340]    at 
NHibernate.Proxy.AbstractProxyFactory.GetFieldInterceptionProxy(Object 
instanceToWrap) 
[4340]    at NHibernate.Tuple.PocoInstantiator.Instantiate() 
[4340]    at NHibernate.Tuple.PocoInstantiator.Instantiate(Object id) 
[4340]    at NHibernate.Tuple.Entity.AbstractEntityTuplizer.Instantiate(Object 
id) 
[4340]    at 
NHibernate.Persister.Entity.AbstractEntityPersister.Instantiate(Object id, 
EntityMode entityMode) 
[4340]    at NHibernate.Impl.SessionImpl.Instantiate(IEntityPersister 
persister, Object id) 
[4340]    at NHibernate.Impl.SessionImpl.Instantiate(String clazz, Object id) 
[4340]    at NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, 
Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String 
rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList 
hydratedObjects, ISessionImplementor session) 
[4340]    at NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] 
persisters, EntityKey[] keys, Object optionalObject, EntityKey 
optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, 
ISessionImplementor session) 
[4340]    at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader 
resultSet, ISessionImplementor session, QueryParameters queryParameters, 
LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, 
EntityKey[] keys, Boolean returnProxies) 
[4340]    at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, 
QueryParameters queryParameters, Boolean returnProxies) 
[4340]    at 
NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor
 session, QueryParameters queryParameters, Boolean returnProxies) 
[4340]    at NHibernate.Loader.Loader.DoList(ISessionImplementor session, 
QueryParameters queryParameters) 
[4340] NHibernate.Util.ADOExceptionReporter: [14] WARN  
[NHibernate.Util.ADOExceptionReporter] - System.NotSupportedException: 
Specified method is not supported. 
[4340]    at 
NHibernate.Proxy.AbstractProxyFactory.GetFieldInterceptionProxy(Object 
instanceToWrap) 
[4340]    at NHibernate.Tuple.PocoInstantiator.Instantiate() 
[4340]    at NHibernate.Tuple.PocoInstantiator.Instantiate(Object id) 
[4340]    at NHibernate.Tuple.Entity.AbstractEntityTuplizer.Instantiate(Object 
id) 
[4340]    at 
NHibernate.Persister.Entity.AbstractEntityPersister.Instantiate(Object id, 
EntityMode entityMode) 
[4340]    at NHibernate.Impl.SessionImpl.Instantiate(IEntityPersister 
persister, Object id) 
[4340]    at NHibernate.Impl.SessionImpl.Instantiate(String clazz, Object id) 
[4340]    at NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, 
Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String 
rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList 
hydratedObjects, ISessionImplementor session) 
[4340]    at NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] 
persisters, EntityKey[] keys, Object optionalObject, EntityKey 
optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, 
ISessionImplementor session) 
[4340]    at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader 
resultSet, ISessionImplementor session, QueryParameters queryParameters, 
LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, 
EntityKey[] keys, Boolean returnProxies) 
[4340]    at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, 
QueryParameters queryParameters, Boolean returnProxies) 
[4340]    at 
NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor
 session, QueryParameters queryParameters, Boolean returnProxies) 
[4340]    at NHibernate.Loader.Loader.DoList(ISessionImplementor session, 
QueryParameters queryParameters) 
[4340] NHibernate.Util.ADOExceptionReporter: [14] ERROR 
[NHibernate.Util.ADOExceptionReporter] - Specified method is not supported. 
[4340] NHibernate.Util.ADOExceptionReporter: [14] DEBUG 
[NHibernate.Util.ADOExceptionReporter] - could not execute query 
[4340] [ SELECT this_.ID as ID14_3_, this_.CreatedDateTime as CreatedD2_14_3_, 
this_.LastAccessDateTime as LastAcce3_14_3_, this_.UserRoleID as 
UserRoleID14_3_, this_.Email as Email14_3_, this_.Password as Password14_3_, 
this_.NickName as NickName14_3_, this_.FirstName as FirstName14_3_, 
this_.LastName as LastName14_3_, this_.MobilePhone as MobileP10_14_3_, 
this_.MobilePhone2 as MobileP11_14_3_, this_.IsFirstNameVisible as 
IsFirst12_14_3_, this_.IsLastNameVisible as IsLastN13_14_3_, 
this_.IsMobilePhoneVisible as IsMobil14_14_3_, this_.IsMobilePhone2Visible as 
IsMobil15_14_3_, this_.IsMale as IsMale14_3_, this_.BirthdayYear as 
Birthda17_14_3_, this_.InhabitedLocalityID as Inhabit18_14_3_, this_.Avatar as 
Avatar14_3_, this_.AvatarFileName as AvatarF20_14_3_, 
this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userprefer4_.UserID WHERE 
this_.Email = @p0 and this_.IsDeleted = @p1 ] 
[4340]   Name:cp0 - Value:[email protected]  Name:cp1 - Value:False 
[4340]  
[4340] [ SELECT this_.ID as ID14_3_, this_.CreatedDateTime as CreatedD2_14_3_, 
this_.LastAccessDateTime as LastAcce3_14_3_, this_.UserRoleID as 
UserRoleID14_3_, this_.Email as Email14_3_, this_.Password as Password14_3_, 
this_.NickName as NickName14_3_, this_.FirstName as FirstName14_3_, 
this_.LastName as LastName14_3_, this_.MobilePhone as MobileP10_14_3_, 
this_.MobilePhone2 as MobileP11_14_3_, this_.IsFirstNameVisible as 
IsFirst12_14_3_, this_.IsLastNameVisible as IsLastN13_14_3_, 
this_.IsMobilePhoneVisible as IsMobil14_14_3_, this_.IsMobilePhone2Visible as 
IsMobil15_14_3_, this_.IsMale as IsMale14_3_, this_.BirthdayYear as 
Birthda17_14_3_, this_.InhabitedLocalityID as Inhabit18_14_3_, this_.Avatar as 
Avatar14_3_, this_.AvatarFileName as AvatarF20_14_3_, 
this_.AvatarVisibilityTypeID as AvatarV21_14_3_, 
this_.LastEmailVerificationError as LastEma22_14_3_, this_.IsEmailVerified as 
IsEmail23_14_3_, this_.IsDeleted as IsDeleted14_3_, userrole2_.ID as ID15_0_, 
userrole2_.Name as Name15_0_, usercar3_.UserID as UserID4_1_, 
usercar3_.CarBrandID as CarBrandID4_1_, usercar3_.CarModel as CarModel4_1_, 
usercar3_.CarComfortTypeID as CarComfo4_4_1_, usercar3_.NumberOfSeats as 
NumberOf5_4_1_, usercar3_.RegistrationNumber as Registra6_4_1_, 
usercar3_.CarColorID as CarColorID4_1_, usercar3_.PhotoFileName as 
PhotoFi10_4_1_, userprefer4_.UserID as UserID7_2_, 
userprefer4_.MusicPreferenceTypeID as MusicPre2_7_2_, 
userprefer4_.AnimalsPreferenceTypeID as AnimalsP3_7_2_, 
userprefer4_.SmokingPreferenceTypeID as SmokingP4_7_2_, 
userprefer4_.SexPreferenceTypeID as SexPrefe5_7_2_, 
userprefer4_.PathDeviationPreferenceTypeID as PathDevi6_7_2_, 
userprefer4_.SpeakingPreferenceTypeID as Speaking7_7_2_ FROM dbo.[User] this_ 
left outer join dbo.UserRole userrole2_ on this_.UserRoleID=userrole2_.ID left 
outer join dbo.UserCar usercar3_ on this_.ID=usercar3_.UserID left outer join 
dbo.UserPreference userprefer4_ on this_.ID=userp
[4340] refer4_.UserID WHERE this_.Email = @p0 and this_.IsDeleted = @p1 ] 
[4340]  
[4340] System.NotSupportedException: Specified method is not supported. 
[4340]    at 
NHibernate.Proxy.AbstractProxyFactory.GetFieldInterceptionProxy(Object 
instanceToWrap) 
[4340]    at NHibernate.Tuple.PocoInstantiator.Instantiate() 
[4340]    at NHibernate.Tuple.PocoInstantiator.Instantiate(Object id) 
[4340]    at NHibernate.Tuple.Entity.AbstractEntityTuplizer.Instantiate(Object 
id) 
[4340]    at 
NHibernate.Persister.Entity.AbstractEntityPersister.Instantiate(Object id, 
EntityMode entityMode) 
[4340]    at NHibernate.Impl.SessionImpl.Instantiate(IEntityPersister 
persister, Object id) 
[4340]    at NHibernate.Impl.SessionImpl.Instantiate(String clazz, Object id) 
[4340]    at NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, 
Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String 
rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList 
hydratedObjects, ISessionImplementor session) 
[4340]    at NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] 
persisters, EntityKey[] keys, Object optionalObject, EntityKey 
optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, 
ISessionImplementor session) 
[4340]    at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader 
resultSet, ISessionImplementor session, QueryParameters queryParameters, 
LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, 
EntityKey[] keys, Boolean returnProxies) 
[4340]    at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, 
QueryParameters queryParameters, Boolean returnProxies) 
[4340]    at 
NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor
 session, QueryParameters queryParameters, Boolean returnProxies) 
[4340]    at NHibernate.Loader.Loader.DoList(ISessionImplementor session, 
QueryParameters queryParameters) 
[4340] NHibernate.Util.ADOExceptionReporter: [14] WARN  
[NHibernate.Util.ADOExceptionReporter] - System.NotSupportedException: 
Specified method is not supported. 
[4340]    at 
NHibernate.Proxy.AbstractProxyFactory.GetFieldInterceptionProxy(Object 
instanceToWrap) 
[4340]    at NHibernate.Tuple.PocoInstantiator.Instantiate() 
[4340]    at NHibernate.Tuple.PocoInstantiator.Instantiate(Object id) 
[4340]    at NHibernate.Tuple.Entity.AbstractEntityTuplizer.Instantiate(Object 
id) 
[4340]    at 
NHibernate.Persister.Entity.AbstractEntityPersister.Instantiate(Object id, 
EntityMode entityMode) 
[4340]    at NHibernate.Impl.SessionImpl.Instantiate(IEntityPersister 
persister, Object id) 
[4340]    at NHibernate.Impl.SessionImpl.Instantiate(String clazz, Object id) 
[4340]    at NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, 
Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String 
rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList 
hydratedObjects, ISessionImplementor session) 
[4340]    at NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] 
persisters, EntityKey[] keys, Object optionalObject, EntityKey 
optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, 
ISessionImplementor session) 
[4340]    at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader 
resultSet, ISessionImplementor session, QueryParameters queryParameters, 
LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, 
EntityKey[] keys, Boolean returnProxies) 
[4340]    at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, 
QueryParameters queryParameters, Boolean returnProxies) 
[4340]    at 
NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor
 session, QueryParameters queryParameters, Boolean returnProxies) 
[4340]    at NHibernate.Loader.Loader.DoList(ISessionImplementor session, 
QueryParameters queryParameters) 
[4340] NHibernate.Util.ADOExceptionReporter: [14] ERROR 
[NHibernate.Util.ADOExceptionReporter] - Specified method is not supported. 
[4340] NHibernate.Impl.SessionImpl: [14] DEBUG [NHibernate.Impl.SessionImpl] - 
setting cache mode to: Normal 
[4340] NHibernate.Transaction.AdoTransaction: [14] DEBUG 
[NHibernate.Transaction.AdoTransaction] - IDbTransaction disposed. 
[4340] NHibernate.Impl.SessionImpl: [14] DEBUG [NHibernate.Impl.SessionImpl] - 
transaction completion 
[4340] NHibernate.AdoNet.ConnectionManager: [14] DEBUG 
[NHibernate.AdoNet.ConnectionManager] - transaction completed on session with 
on_close connection release mode; be sure to close the session to release 
ADO.Net resources! 
[4340] NHibernate.Impl.SessionImpl: [14] DEBUG [NHibernate.Impl.SessionImpl] - 
[session-id=db00ae2b-7471-4400-83fd-aba099c6af3c] running ISession.Dispose() 
[4340] NHibernate.Impl.SessionImpl: [14] DEBUG [NHibernate.Impl.SessionImpl] - 
[session-id=db00ae2b-7471-4400-83fd-aba099c6af3c] executing real Dispose(True) 
[4340] NHibernate.Impl.SessionImpl: [14] DEBUG [NHibernate.Impl.SessionImpl] - 
closing session 

Attachment: entity.cs
Description: Binary data

Attachment: mapping.hbm.xml
Description: XML document

Reply via email to