src/Misc/EFTools/EntityDesignModel/Entity/ComplexType.cs
/// <summary>
///     Special case for FunctionImport
///     We need to return "Collection(typeName)" string for the ReturnType attribute of a FunctionImport.
/// </summary>
/// <param name="binding"></param>
/// <returns></returns>
Special case for FunctionImport
We need to return "Collection(typeName)" string for the ReturnType attribute of a FunctionImport.
Special case for FunctionImport We need to return " Collection ( typeName ) " string for the ReturnType attribute of a FunctionImport .
internal override string GetRefNameForBinding(ItemBinding binding)
        {
            var fi = binding.Parent as FunctionImport;
            if (fi != null)
            {
                return string.Format(
                    CultureInfo.InvariantCulture,
                    FunctionImport.CollectionFormat,
                    NormalizedNameExternal);
            }
            return base.GetRefNameForBinding(binding);
        }
internal override string GetRefNameForBinding ( ItemBinding binding ) { var fi = binding . Parent as FunctionImport ; if ( fi != null ) { return string . Format ( CultureInfo . InvariantCulture , FunctionImport . CollectionFormat , NormalizedNameExternal ) ; } return base . GetRefNameForBinding ( binding ) ; }
Special case for FunctionImport
We need to return "Collection(typeName)" string for the ReturnType attribute of a FunctionImport.
Special case for FunctionImport We need to return " Collection ( typeName ) " string for the ReturnType attribute of a FunctionImport .
None
binding
ItemBinding
None