public static IToManyResourceLinkageBuilder <TToResource> ToMany <TFromResource, TToResource>(this IIncludedResourcesBuilder includedResourcesBuilder, params IToManyResourceLinkage <TFromResource, TToResource>[] toManyResourceLinkageCollection)
            where TFromResource : class, IResource
            where TToResource : class, IResource
        {
            Contract.Requires(includedResourcesBuilder != null);

            return(includedResourcesBuilder.ToMany(toManyResourceLinkageCollection));
        }
        public static IToManyResourceLinkageBuilder <TToResource> ToMany <TFromResource, TToResource>(this IIncludedResourcesBuilder includedResourcesBuilder, TFromResource fromResource, string fromRel, IEnumerable <TToResource> toResourceCollection)
            where TFromResource : class, IResource
            where TToResource : class, IResource
        {
            Contract.Requires(includedResourcesBuilder != null);
            Contract.Requires(fromResource != null);
            Contract.Requires(String.IsNullOrWhiteSpace(fromRel));

            var toManyResourceLinkage = new ToManyResourceLinkage <TFromResource, TToResource>(fromResource, fromRel, toResourceCollection);

            return(includedResourcesBuilder.ToMany(toManyResourceLinkage));
        }