ConnectionHelper.cs 356 B

1234567891011121314151617
  1. using System.Configuration;
  2. using System.Data;
  3. using System.Data.SqlClient;
  4. using System.Diagnostics;
  5. namespace XYY.Core.Standard.Data.Infrastructure
  6. {
  7. public static class ConnectionHelper
  8. {
  9. public static IDbConnection BuildDbConnection(string ConnString)
  10. {
  11. return new SqlConnection(ConnString);
  12. }
  13. }
  14. }