type ProductMap() as m = inherit ClassMapQ<Product>() do
let x = m.DefaultX
m.Not.LazyLoad()
(m.IdQ <@ x.Id @>).Done
(m.MapQ <@ x.Name @>).Done
(m.MapQ <@ x.Price @>).Done
(m.HasManyToManyQ <@ seq x.StoresStockedIn @>)
.LazyLoad()
.Cascade.All()
.Inverse()
.Table("StoreProduct")
.Done
Remember Me