Archives
-
Inline Image in ASP.NET
Update February 2nd 2013: you can use tag mapping to have all your controls render inline images.
-
Checking if an Unloaded Collection Contains Elements with NHibernate
If you want to know if an unloaded collection in an entity contains elements, or count them, without actually loading them, you need to use a custom query; that is because the Count property (if the collection is not mapped with lazy=”extra”) and the LINQ Count() and Any() methods force the whole collection to be loaded.
-
NHibernate Pitfalls: Querying a Collection Count
This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.