protected override void OnLoad(EventArgs e)
        {
            // NO LONGER REQUIRED (performed internally by SharpMap.SqlServerSpatialObjects)
            //SqlServerTypes.Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory);

            SqlServerSample.InitialiseTables(ConnectionString);

            WireHandlers();

            base.OnLoad(e);
        }
Beispiel #2
0
        protected override void OnLoad(EventArgs e)
        {
            // required for NuGet package Microsoft.SqlServer.Types
            SqlServerTypes.Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory);

            SqlServerSample.InitialiseTables(ConnectionString);

            WireHandlers();

            base.OnLoad(e);
        }