EFUtility.CodeGenerationTools.MetadataTools.ClrType C# (CSharp) Method

ClrType() public method

This method returns the underlying CLR type of the o-space type corresponding to the supplied typeUsage Note that for an enum type this means that the type backing the enum will be returned, not the enum type itself.
public ClrType ( TypeUsage typeUsage ) : Type
typeUsage TypeUsage
return System.Type
        public Type ClrType(TypeUsage typeUsage)
        {
            return UnderlyingClrType(typeUsage.EdmType);
        }