Skip to content

Instantly share code, notes, and snippets.

@masaru-b-cl
Created April 4, 2012 07:26
Show Gist options
  • Save masaru-b-cl/2299470 to your computer and use it in GitHub Desktop.
Save masaru-b-cl/2299470 to your computer and use it in GitHub Desktop.
ODP.NETのTableAdapterで独自の接続文字列を設定する方法
namespace OriginalConnectionStringTest.Dao
{
public partial class AreasDataSet
{
}
namespace AreasDataSetTableAdapters
{
public partial class H_AREATableAdapter
{
public H_AREATableAdapter(string connectionString)
{
this.Connection.ConnectionString = connectionString;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment