src/Misc/EFTools/EntityDesignModel/Validation/EscherAttributeContentValidator.cs
/// <summary>
///     Returns true if the proposed name is valid for CSDL namespace name
/// </summary>
Returns true if the proposed name is valid for CSDL namespace name
Returns true if the proposed name is valid for CSDL namespace name
public static bool IsValidCsdlNamespaceName(string modelNamespace)
        {
            Debug.Assert(modelNamespace != null, "modelNamespace != null");
            return modelNamespace.Length <= 512 && IsValidXmlAttributeValue(modelNamespace)
                   && QualifiedNameRegex.IsMatch(modelNamespace);
        }
public static bool IsValidCsdlNamespaceName ( string modelNamespace ) { Debug . Assert ( modelNamespace != null , " " ) ; return modelNamespace . Length <= 512 && IsValidXmlAttributeValue ( modelNamespace ) && QualifiedNameRegex . IsMatch ( modelNamespace ) ; }
Returns true if the proposed name is valid for CSDL namespace name
Returns true if the proposed name is valid for CSDL namespace name
// CSDL schema does not allow model namespace to be longer than 512 characters
modelNamespace
string