/// <summary> /// Factory method that creates a data access object /// </summary> /// <returns>Reference to the data access object</returns> protected override mmDataAccessBase CreateDataAccessObject(string dataAccessClassName) { return new EmployeeDataAccess(); }The dataAccessClassName parameter seems to be ignored and the EmployeeDataAccess is instantiated without taking into account the fact that an OleDB connection is wanted:
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.ParameterPrefixChar = "@"; this.DataAdapter = new System.Data.SqlClient.SqlDataAdapter(); // // DataAdapter // this.DataAdapter.SelectCommand = (System.Data.SqlClient.SqlCommand)this.CreateSelectCommand(); this.DataAdapter.InsertCommand = (System.Data.SqlClient.SqlCommand)this.CreateInsertCommand(); this.DataAdapter.UpdateCommand = (System.Data.SqlClient.SqlCommand)this.CreateUpdateCommand(); this.DataAdapter.DeleteCommand = (System.Data.SqlClient.SqlCommand)this.CreateDeleteCommand(); }Does this mean the MM Northwind sample is 'hardcoded' to use only MS Sql Server without demonstrating the ability to dynamically change from one data source to another ?