EntityFrameworkDataServiceProvider.CreateResource Method

Creates the resource of the given type and belonging to the given container

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

Syntax

'Declaration
Public Overridable Function CreateResource ( _
    containerName As String, _
    fullTypeName As String _
) As Object
'Usage
Dim instance As EntityFrameworkDataServiceProvider 
Dim containerName As String 
Dim fullTypeName As String 
Dim returnValue As Object 

returnValue = instance.CreateResource(containerName, _
    fullTypeName)
public virtual Object CreateResource(
    string containerName,
    string fullTypeName
)
public:
virtual Object^ CreateResource(
    String^ containerName, 
    String^ fullTypeName
)
abstract CreateResource : 
        containerName:string * 
        fullTypeName:string -> Object  
override CreateResource : 
        containerName:string * 
        fullTypeName:string -> Object
public function CreateResource(
    containerName : String, 
    fullTypeName : String
) : Object

Parameters

  • containerName
    Type: System.String
    container name to which the resource needs to be added
  • fullTypeName
    Type: System.String
    full type name i.e. Namespace qualified type name of the resource

Return Value

Type: System.Object
object representing a resource of given type and belonging to the given container

Implements

IUpdatable.CreateResource(String, String)

See Also

Reference

EntityFrameworkDataServiceProvider Class

System.Data.Services.Providers Namespace