ConventionTypeConfiguration.MapToStoredProcedures 方法 (Action<ConventionModificationStoredProceduresConfiguration>)
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
命名空間: System.Data.Entity.ModelConfiguration.Configuration
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Function MapToStoredProcedures ( _
modificationStoredProceduresConfigurationAction As Action(Of ConventionModificationStoredProceduresConfiguration) _
) As ConventionTypeConfiguration
'用途
Dim instance As ConventionTypeConfiguration
Dim modificationStoredProceduresConfigurationAction As Action(Of ConventionModificationStoredProceduresConfiguration)
Dim returnValue As ConventionTypeConfiguration
returnValue = instance.MapToStoredProcedures(modificationStoredProceduresConfigurationAction)
public ConventionTypeConfiguration MapToStoredProcedures(
Action<ConventionModificationStoredProceduresConfiguration> modificationStoredProceduresConfigurationAction
)
public:
ConventionTypeConfiguration^ MapToStoredProcedures(
Action<ConventionModificationStoredProceduresConfiguration^>^ modificationStoredProceduresConfigurationAction
)
member MapToStoredProcedures :
modificationStoredProceduresConfigurationAction:Action<ConventionModificationStoredProceduresConfiguration> -> ConventionTypeConfiguration
public function MapToStoredProcedures(
modificationStoredProceduresConfigurationAction : Action<ConventionModificationStoredProceduresConfiguration>
) : ConventionTypeConfiguration
參數
- modificationStoredProceduresConfigurationAction
類型:System.Action<ConventionModificationStoredProceduresConfiguration>
要覆寫程序和參數名稱之預設慣例的組態。
傳回值
類型:System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration
相同的組態執行個體,以便鏈結多個呼叫。