MigrationSqlGenerator.BuildStoreTypeUsage(String, PropertyModel) Method

Definition

Builds the store type usage for the specified storeTypeName using the facets from the specified propertyModel.

protected virtual System.Data.Entity.Core.Metadata.Edm.TypeUsage BuildStoreTypeUsage (string storeTypeName, System.Data.Entity.Migrations.Model.PropertyModel propertyModel);
abstract member BuildStoreTypeUsage : string * System.Data.Entity.Migrations.Model.PropertyModel -> System.Data.Entity.Core.Metadata.Edm.TypeUsage
override this.BuildStoreTypeUsage : string * System.Data.Entity.Migrations.Model.PropertyModel -> System.Data.Entity.Core.Metadata.Edm.TypeUsage

Parameters

storeTypeName
String

Name of the store type.

propertyModel
PropertyModel

The target property.

Returns

A store-specific TypeUsage

Applies to