src/Misc/EFTools/EntityDesign/VisualStudio/EdmUtils.cs
// <summary>
//     Return the corresponding FunctionImport's result-column name for a given property.
// </summary>
Return the corresponding FunctionImport's result-column name for a given property.
Return the corresponding FunctionImport ' s result - column name for a given property .
internal static string GetFunctionImportResultColumnName(EntityModel.FunctionImport functionImport, EntityModel.Property property)
        {
            if (functionImport != null)
            {
                var columnName = EntityModel.FunctionImport.GetFunctionImportResultColumnName(functionImport, property);
                if (!String.IsNullOrEmpty(columnName))
                {
                    return columnName;
                }
            }
            return property.LocalName.Value;
        }
internal static string GetFunctionImportResultColumnName ( EntityModel . FunctionImport functionImport , EntityModel . Property property ) { if ( functionImport != null ) { var columnName = EntityModel . FunctionImport . GetFunctionImportResultColumnName ( functionImport , property ) ; if ( ! String . IsNullOrEmpty ( columnName ) ) { return columnName ; } } return property . LocalName . Value ; }
Return the corresponding FunctionImport's result-column name for a given property.
Return the corresponding FunctionImport ' s result - column name for a given property .
functionImport
EntityModel.FunctionImport
property
EntityModel.Property