MigrationSqlGenerator.BuildStoreTypeUsage Method (String, PropertyModel)

 

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

Namespace:   System.Data.Entity.Migrations.Sql
Assembly:  EntityFramework (in EntityFramework.dll)

protected virtual TypeUsage BuildStoreTypeUsage(
	string storeTypeName,
	PropertyModel propertyModel
)

Parameters

storeTypeName
Type: System.String

Name of the store type.

propertyModel
Type: System.Data.Entity.Migrations.Model.PropertyModel

The target property.

Return Value

Type: System.Data.Entity.Core.Metadata.Edm.TypeUsage

A store-specific TypeUsage