risinghero / BLToolkit.AzureSql

Business Logic Toolkit AzureSql Data Provider for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLToolkit.AzureSql

Business Logic Toolkit AzureSql Data Provider for .NET – www.bltoolkit.net

Install from NuGet gallery

PM> Install-Package BLToolkit.AzureSql

Configuration in code...

DbManager.AddDataProvider(new AzureSqlDataProvider());
DbManager.AddConnectionString(ProviderName.AzureSql, "your connection string to Windows Azure SQL Database");

...or via config file

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="bltoolkit" type="BLToolkit.Configuration.BLToolkitSection, BLToolkit.4" />
  </configSections>
  
  <bltoolkit>
    <dataProviders>
      <add type="BLToolkit.Data.DataProvider.AzureSql.AzureSqlDataProvider, BLToolkit.Data.DataProvider.AzureSql" />
    </dataProviders>
  </bltoolkit>
  
  <connectionStrings>
    <add name="default" 
         connectionString="your connection string to Windows Azure SQL Database" providerName="AzureSql" />
  </connectionStrings>
</configuration>

About

Business Logic Toolkit AzureSql Data Provider for .NET

License:MIT License


Languages

Language:C# 98.7%Language:Batchfile 1.3%