Example #1
0
        /// <summary>
        ///
        /// </summary>
        public BelongsToAssociation.Builder BelongsToAssociation(BelongsToAssociation.Config config)
        {
#if MVC
            return(new BelongsToAssociation.Builder(new BelongsToAssociation(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new BelongsToAssociation.Builder(new BelongsToAssociation(config)));
#endif
        }
 /// <summary>
 ///
 /// </summary>
 public Builder(BelongsToAssociation.Config config) : base(new BelongsToAssociation(config))
 {
 }
 /// <summary>
 ///
 /// </summary>
 public BelongsToAssociation.Builder BelongsToAssociation(BelongsToAssociation.Config config)
 {
     return(new BelongsToAssociation.Builder(new BelongsToAssociation(config)));
 }