Assuming your type is an Iesi set, then there is no difference; HasMany call is discretionary enough to understand what you want to install. AsSet is a way to explicitly change your HasMany to Set in situations where FNH may not determine it by type, for example, if you show your collection as IEnumerable , by default it will contain a bag and calling AsSet will cancel it.
James gregory
source share