public void Should_generate_correct_code_given__subselect() { _fetch.Add(HbmCollectionFetchMode.Subselect); string result = _builder.ToString(); result.ShouldBeEqualTo($".{Fetch.FluentNHibernateNames.Fetch}.{Fetch.FluentNHibernateNames.Subselect}"); }
public bool AddFetchRefSpec(RefSpec s) { if (Fetch.Contains(s)) { return(false); } Fetch.Add(s); return(true); }