root/UnityWeb/UnityWeb/Repository/NHibernateDataAccess/NHibernateSessionManager.cs
| 80 | 82 | ||
|---|---|---|---|
105 | autoMap.References(product => product.Supplier); | 105 | autoMap.References(product => product.Supplier); |
106 | autoMap.References(product => product.Category); | 106 | autoMap.References(product => product.Category); |
107 | }) | 107 | }) |
108 | |||
109 | |||
110 | //.ForTypesThatDeriveFrom<Person> | ||
111 | // .ForTypesThatDeriveFrom<Person>(map => map.Component<Address>(m => m.Address, | ||
112 | // x => x.Map(y => y.AddressLine1))) | ||
113 | //.WithConvention(c=> c.JoinConvention = j => j.SetAttribute(); ) | ||
114 | //.WithConvention(c=>c.AddTypeConvention();) | ||
115 | ; | 108 | ; |
116 | 109 | ||
117 | return persistenceModel; | 110 | return persistenceModel; |
Download diff