Rediger

Del via


EntityStoreSchemaGenerator.GenerateStoreMetadata Method

Definition

Generates store metadata and returns any schema errors.

Overloads

GenerateStoreMetadata()

Generates store metadata and returns any schema errors.

GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry>)

Generates store metadata and returns any schema errors.

GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry>, Version)

Generates store schema definition language (SSDL) and returns any schema errors.

GenerateStoreMetadata()

Generates store metadata and returns any schema errors.

public:
 System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ GenerateStoreMetadata();
public System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> GenerateStoreMetadata ();
member this.GenerateStoreMetadata : unit -> System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError>
Public Function GenerateStoreMetadata () As IList(Of EdmSchemaError)

Returns

The collection of schema error objects.

Applies to

GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry>)

Generates store metadata and returns any schema errors.

public:
 System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ GenerateStoreMetadata(System::Collections::Generic::IEnumerable<System::Data::Entity::Design::EntityStoreSchemaFilterEntry ^> ^ filters);
public System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> GenerateStoreMetadata (System.Collections.Generic.IEnumerable<System.Data.Entity.Design.EntityStoreSchemaFilterEntry> filters);
member this.GenerateStoreMetadata : seq<System.Data.Entity.Design.EntityStoreSchemaFilterEntry> -> System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError>
Public Function GenerateStoreMetadata (filters As IEnumerable(Of EntityStoreSchemaFilterEntry)) As IList(Of EdmSchemaError)

Parameters

filters
IEnumerable<EntityStoreSchemaFilterEntry>

An EntityStoreSchemaFilterEntry that specifies which database objects to allow or exclude during generation.

Returns

The collection of schema error objects.

Applies to

GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry>, Version)

Generates store schema definition language (SSDL) and returns any schema errors.

public:
 System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ GenerateStoreMetadata(System::Collections::Generic::IEnumerable<System::Data::Entity::Design::EntityStoreSchemaFilterEntry ^> ^ filters, Version ^ targetEntityFrameworkVersion);
public System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> GenerateStoreMetadata (System.Collections.Generic.IEnumerable<System.Data.Entity.Design.EntityStoreSchemaFilterEntry> filters, Version targetEntityFrameworkVersion);
member this.GenerateStoreMetadata : seq<System.Data.Entity.Design.EntityStoreSchemaFilterEntry> * Version -> System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError>
Public Function GenerateStoreMetadata (filters As IEnumerable(Of EntityStoreSchemaFilterEntry), targetEntityFrameworkVersion As Version) As IList(Of EdmSchemaError)

Parameters

filters
IEnumerable<EntityStoreSchemaFilterEntry>

An EntityStoreSchemaFilterEntry that specifies which database objects to allow or exclude during generation.

targetEntityFrameworkVersion
Version

The property of EntityFrameworkVersions that corresponds to the targeted version of the Entity Framework.

Returns

The collection of schema error objects.

Applies to