Skip to content

BH.oM.Adapters.SQL.SqlClientAssemblyFixSettings

Initialisation settings for the SQL Toolkit ensuring that the correct Microsoft.Data.SqlClient assembly is loaded before any SQL component is used in Rhino 8. This is a fix until McNeel ships a working version of that dll.

Class structure

Implemented interfaces and base types

The SqlClientAssemblyFixSettings is inheriting from the following base type(s) and implements the following interfaces:

Properties

Defining properties

The following properties are defined on the class

Name Type Description Quantity
InitialisationMethod string Method ran when the UI is loaded. This is in charge of loading the Microsoft.Data.SqlClient if we are in Rhino 8. -
InitialisationAssembly string Assmbly where the initialisation method can be found. -

Inherited properties

The following properties are inherited from the base class of the object

Name Type Description Quantity
BHoM_Guid Guid - -
Name string - -
Fragments FragmentSet - -
Tags HashSet<string> - -
CustomData Dictionary<string, object> - -

Code and Schema

C# implementation

C#
public class SqlClientAssemblyFixSettings : BH.oM.Base.BHoMObject,
BH.oM.Base.IBHoMObject,
BH.oM.Base.IObject,
BH.oM.Base.ISettings,
BH.oM.Base.IInitialisationSettings,
BH.oM.Base.IImmutable

Assembly: SQL_oM.dll

The C# class definition is available on github:

All history and changes of the class can be found by inspection the history.