private static Type GetClrType(EdmType objectSpaceType) { Type clrType; if (!ObjectItemCollection.TryGetClrType(objectSpaceType, out clrType)) { throw new ArgumentException(Strings.FailedToFindClrTypeMapping((object)objectSpaceType.Identity)); } return(clrType); }
public bool TryGetClrType(EnumType objectSpaceType, out Type clrType) { return(ObjectItemCollection.TryGetClrType((EdmType)objectSpaceType, out clrType)); }