EdmExtension.CreateAndValidateStoreItemCollection Method (String, Version, IDbDependencyResolver, Boolean)
Converts a string representation of store schema definition language (SSDL) to a StoreItemCollection and validates it.
Assembly: Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "ssdl")] public static StoreItemCollection CreateAndValidateStoreItemCollection( string ssdl, Version targetFrameworkVersion, IDbDependencyResolver resolver, bool catchThrowNamingConflicts )
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.
- catchThrowNamingConflicts
-
Type:
System.Boolean
Determines if exceptions should be thrown if a naming conflict exists in the generated StoreItemCollection .
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.StoreItemCollectionSSDL as a StoreItemCollection.