EdmExtension.CreateStoreItemCollection Method (String, Version, IDbDependencyResolver, IList<EdmSchemaError>)
Converts a string representation of store schema definition language (SSDL) to a StoreItemCollection.
Assembly: Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
[SuppressMessageAttribute("Microsoft.Usage", "CA2202:Do not dispose objects multiple times")] [SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "ssdl")] [SuppressMessageAttribute("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "3#")] [SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "edm")] public static StoreItemCollection CreateStoreItemCollection( string ssdl, Version targetFrameworkVersion, IDbDependencyResolver resolver, out IList<EdmSchemaError> edmErrors )
Parameters
- ssdl
-
Type:
System.String
SSDL as a string.
- targetFrameworkVersion
-
Type:
System.Version
The targeted version of the Entity Framework.
- resolver
-
Type:
System.Data.Entity.Infrastructure.DependencyResolution.IDbDependencyResolver
The dependency resolver to use for loading required dependencies.
- 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.StoreItemCollectionSSDL as a StoreItemCollection.