src/Shared/EntityFramework/Core/Common/EntitySql/SemanticResolver.cs
// <summary>
// Creates a new alias name based on the <paramref name="expr" /> information.
// </summary>
Creates a new alias name based on the  information.
Creates a new alias name based on the information .
private string CreateNewAlias(DbExpression expr)
        {
            var extent = expr as DbScanExpression;
            if (null != extent)
            {
                return extent.Target.Name;
            }
            var property = expr as DbPropertyExpression;
            if (null != property)
            {
                return property.Property.Name;
            }
            var varRef = expr as DbVariableReferenceExpression;
            if (null != varRef)
            {
                return varRef.VariableName;
            }
            return GenerateInternalName(String.Empty);
        }
private string CreateNewAlias ( DbExpression expr ) { var extent = expr as DbScanExpression ; if ( null != extent ) { return extent . Target . Name ; } var property = expr as DbPropertyExpression ; if ( null != property ) { return property . Property . Name ; } var varRef = expr as DbVariableReferenceExpression ; if ( null != varRef ) { return varRef . VariableName ; } return GenerateInternalName ( String . Empty ) ; }
Creates a new alias name based on the  information.
Creates a new alias name based on the information .
expr
DbExpression