EntityFrameworkDataServiceProvider.GetEntityContainerAnnotations Method

Return the list of custom annotation for the entity container with the given name.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Function GetEntityContainerAnnotations ( _
    entityContainerName As String _
) As IEnumerable(Of KeyValuePair(Of String, Object))
'Usage
Dim instance As EntityFrameworkDataServiceProvider 
Dim entityContainerName As String 
Dim returnValue As IEnumerable(Of KeyValuePair(Of String, Object))

returnValue = instance.GetEntityContainerAnnotations(entityContainerName)
public IEnumerable<KeyValuePair<string, Object>> GetEntityContainerAnnotations(
    string entityContainerName
)
public:
virtual IEnumerable<KeyValuePair<String^, Object^>>^ GetEntityContainerAnnotations(
    String^ entityContainerName
) sealed
abstract GetEntityContainerAnnotations : 
        entityContainerName:string -> IEnumerable<KeyValuePair<string, Object>> 
override GetEntityContainerAnnotations : 
        entityContainerName:string -> IEnumerable<KeyValuePair<string, Object>> 
public final function GetEntityContainerAnnotations(
    entityContainerName : String
) : IEnumerable<KeyValuePair<String, Object>>

Parameters

  • entityContainerName
    Type: System.String
    Name of the EntityContainer.

Return Value

Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, Object>>
Return the list of custom annotation for the entity container with the given name.

See Also

Reference

EntityFrameworkDataServiceProvider Class

System.Data.Services.Providers Namespace