public static bool FullyQualifySystemTypes { get; set; }
When true, all types that are not being generated
are fully qualified to keep them from conflicting with
types that are being generated. Useful when you have
something like a type being generated named System.Default is false.
public static string CreateFullName(string namespaceName, string name)
Returns as full of a name as possible, if a namespace is provided the namespace and name are combined with a period, otherwise just the name is returned.
public static IEnumerable<T> GetItemsToGenerate<T>(ItemCollection itemCollection) where T : GlobalItem
Gets the entity, complex, or enum types for which code should be generated from the given item collection. Any types for which an ExternalTypeName annotation
has been applied in the conceptual model metadata (CSDL) are filtered out of the returned list.
public static string GetTypeName(EdmType edmType, string modelNamespace)
Returns the escaped type name to use for the given c-space type in o-space. This might be an external type name if the ExternalTypeName annotation has been specified
in the conceptual model metadata (CSDL).
Returns the escaped type name to use for the given c-space type in o-space. This might be an external type name if the ExternalTypeName annotation has been
specified in the conceptual model metadata (CSDL).
public static string GetTypeName(TypeUsage typeUsage, string modelNamespace)
Returns the escaped type name to use for the given usage of an c-space type in o-space. This might be an external type name if the ExternalTypeName annotation
has been specified in the conceptual model metadata (CSDL).
public static string GetTypeName(TypeUsage typeUsage)
Returns the escaped type name to use for the given usage of a c-space type in o-space. This might be an external type name if the ExternalTypeName annotation
has been specified in the conceptual model metadata (CSDL).