EdmExtension.CreateStoreItemCollection Method
[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]
Converts a string representation of store schema definition language (SSDL) to a StoreItemCollection.
Namespace: Microsoft.Data.Entity.Design.DatabaseGeneration
Assembly: Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
Syntax
'Declaration
Public Shared Function CreateStoreItemCollection ( _
ssdl As String, _
targetFrameworkVersion As Version, _
resolver As IDbDependencyResolver, _
<OutAttribute> ByRef edmErrors As IList(Of EdmSchemaError) _
) As StoreItemCollection
'Usage
Dim ssdl As String
Dim targetFrameworkVersion As Version
Dim resolver As IDbDependencyResolver
Dim edmErrors As IList(Of EdmSchemaError)
Dim returnValue As StoreItemCollection
returnValue = EdmExtension.CreateStoreItemCollection(ssdl, _
targetFrameworkVersion, resolver, _
edmErrors)
public static StoreItemCollection CreateStoreItemCollection(
string ssdl,
Version targetFrameworkVersion,
IDbDependencyResolver resolver,
out IList<EdmSchemaError> edmErrors
)
public:
static StoreItemCollection^ CreateStoreItemCollection(
String^ ssdl,
Version^ targetFrameworkVersion,
IDbDependencyResolver^ resolver,
[OutAttribute] IList<EdmSchemaError^>^% edmErrors
)
static member CreateStoreItemCollection :
ssdl:string *
targetFrameworkVersion:Version *
resolver:IDbDependencyResolver *
edmErrors:IList<EdmSchemaError> byref -> StoreItemCollection
public static function CreateStoreItemCollection(
ssdl : String,
targetFrameworkVersion : Version,
resolver : IDbDependencyResolver,
edmErrors : IList<EdmSchemaError>
) : StoreItemCollection
Parameters
- ssdl
Type: System.String
The SSDL as a string.
- targetFrameworkVersion
Type: System.Version
The targeted version of the Entity Framework.
- resolver
Type: IDbDependencyResolver
The resolver.
- edmErrors
Type: System.Collections.Generic.IList<EdmSchemaError>%
An output parameter that contains a list of errors that occurred during the generation of the StoreItemCollection.
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.StoreItemCollection
SSDL as a StoreItemCollection.