C# Class MvcApi.OData.EdmLibHelpers

Afficher le fichier Open project: dax70/MvcApi

Méthodes publiques

Méthode Description
CanBindTo ( this function, IEdmCollectionType collection ) : bool
CanBindTo ( this function, IEdmEntityType entity ) : bool
EdmFullName ( this clrType ) : string
EdmName ( this clrType ) : string
FindBindableAction ( this functions, IEdmCollectionType collectionType, string actionIdentifier ) : IEdmFunctionImport
FindBindableAction ( this functions, IEdmEntityType entityType, string actionIdentifier ) : IEdmFunctionImport
GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel ) : Type
GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel, IAssembliesResolver assembliesResolver ) : Type
GetCollection ( this entityType ) : IEdmCollectionType
GetEdmPrimitiveTypeOrNull ( Type clrType ) : IEdmPrimitiveType
GetEdmPrimitiveTypeReferenceOrNull ( Type clrType ) : IEdmPrimitiveTypeReference
GetEdmType ( this edmModel, Type clrType ) : IEdmType
GetEdmTypeReference ( this edmModel, Type clrType ) : IEdmTypeReference
GetMatchingActions ( this functions, string actionIdentifier ) : IEnumerable
IsNonstandardEdmPrimitive ( Type type, bool &isNonstandardEdmPrimitive ) : Type
IsNullable ( Type type ) : bool

Private Methods

Méthode Description
ExtractGenericInterface ( Type queryType, Type interfaceType ) : Type
GetMatchingTypes ( string edmFullName, IAssembliesResolver assembliesResolver ) : IEnumerable
GetPrimitiveType ( EdmPrimitiveTypeKind primitiveKind ) : IEdmPrimitiveType
MangleClrTypeName ( Type type ) : string

Method Details

CanBindTo() public static méthode

public static CanBindTo ( this function, IEdmCollectionType collection ) : bool
function this
collection IEdmCollectionType
Résultat bool

CanBindTo() public static méthode

public static CanBindTo ( this function, IEdmEntityType entity ) : bool
function this
entity IEdmEntityType
Résultat bool

EdmFullName() public static méthode

public static EdmFullName ( this clrType ) : string
clrType this
Résultat string

EdmName() public static méthode

public static EdmName ( this clrType ) : string
clrType this
Résultat string

FindBindableAction() public static méthode

public static FindBindableAction ( this functions, IEdmCollectionType collectionType, string actionIdentifier ) : IEdmFunctionImport
functions this
collectionType IEdmCollectionType
actionIdentifier string
Résultat IEdmFunctionImport

FindBindableAction() public static méthode

public static FindBindableAction ( this functions, IEdmEntityType entityType, string actionIdentifier ) : IEdmFunctionImport
functions this
entityType IEdmEntityType
actionIdentifier string
Résultat IEdmFunctionImport

GetClrType() public static méthode

public static GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel ) : Type
edmTypeReference IEdmTypeReference
edmModel IEdmModel
Résultat System.Type

GetClrType() public static méthode

public static GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel, IAssembliesResolver assembliesResolver ) : Type
edmTypeReference IEdmTypeReference
edmModel IEdmModel
assembliesResolver IAssembliesResolver
Résultat System.Type

GetCollection() public static méthode

public static GetCollection ( this entityType ) : IEdmCollectionType
entityType this
Résultat IEdmCollectionType

GetEdmPrimitiveTypeOrNull() public static méthode

public static GetEdmPrimitiveTypeOrNull ( Type clrType ) : IEdmPrimitiveType
clrType System.Type
Résultat IEdmPrimitiveType

GetEdmPrimitiveTypeReferenceOrNull() public static méthode

public static GetEdmPrimitiveTypeReferenceOrNull ( Type clrType ) : IEdmPrimitiveTypeReference
clrType System.Type
Résultat IEdmPrimitiveTypeReference

GetEdmType() public static méthode

public static GetEdmType ( this edmModel, Type clrType ) : IEdmType
edmModel this
clrType System.Type
Résultat IEdmType

GetEdmTypeReference() public static méthode

public static GetEdmTypeReference ( this edmModel, Type clrType ) : IEdmTypeReference
edmModel this
clrType System.Type
Résultat IEdmTypeReference

GetMatchingActions() public static méthode

public static GetMatchingActions ( this functions, string actionIdentifier ) : IEnumerable
functions this
actionIdentifier string
Résultat IEnumerable

IsNonstandardEdmPrimitive() public static méthode

public static IsNonstandardEdmPrimitive ( Type type, bool &isNonstandardEdmPrimitive ) : Type
type System.Type
isNonstandardEdmPrimitive bool
Résultat System.Type

IsNullable() public static méthode

public static IsNullable ( Type type ) : bool
type System.Type
Résultat bool