AxSqlDataAccessService Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public AxSqlDataAccessService (Func<Microsoft.Dynamics.Ax.Xpp.DataAccess.AxSqlDataAccessContext> getContext, Microsoft.Dynamics.AX.Data.Sql.ISqlServerConnectionStringProvider primaryConnectionStringProvider, Microsoft.Dynamics.AX.Data.Sql.ISqlServerConnectionStringProvider secondaryConnectionStringProvider = default);
new Microsoft.Dynamics.Ax.Xpp.DataAccess.AxSqlDataAccessService : Func<Microsoft.Dynamics.Ax.Xpp.DataAccess.AxSqlDataAccessContext> * Microsoft.Dynamics.AX.Data.Sql.ISqlServerConnectionStringProvider * Microsoft.Dynamics.AX.Data.Sql.ISqlServerConnectionStringProvider -> Microsoft.Dynamics.Ax.Xpp.DataAccess.AxSqlDataAccessService
Public Sub New (getContext As Func(Of AxSqlDataAccessContext), primaryConnectionStringProvider As ISqlServerConnectionStringProvider, Optional secondaryConnectionStringProvider As ISqlServerConnectionStringProvider = Nothing)
Parameters
- getContext
- Func<AxSqlDataAccessContext>
- primaryConnectionStringProvider
- Microsoft.Dynamics.AX.Data.Sql.ISqlServerConnectionStringProvider
- secondaryConnectionStringProvider
- Microsoft.Dynamics.AX.Data.Sql.ISqlServerConnectionStringProvider