예제 #1
0
 public void Build(IDatabaseBuilder builder)
 {
     //I don't call this because I didn't setup the app.config
     //builder.BuildConnection();
     builder.BuildCommand();
     builder.SetSettings();
 }
예제 #2
0
 public void Build(IDatabaseBuilder Builder, string sStoredProcedure, params object[] arrobjParameters)
 {
     Builder.BuildConnection();
     Builder.BuildCommand(sStoredProcedure);
     Builder.SetSettings();
     Builder.AddParameters(arrobjParameters);
     Builder.GetDataReader();
 }
예제 #3
0
 public void BuildBackup(IDatabaseBuilder builder)
 {
     builder.BuildConnection("BackupMySqlConn");
     builder.BuildCommand();
     builder.SetSettings();
 }
예제 #4
0
 public void BuildProduction(IDatabaseBuilder builder)
 {
     builder.BuildConnection("MySqlConn");
     builder.BuildCommand();
     builder.SetSettings();
 }
예제 #5
0
 public void Build(IDatabaseBuilder Builder)
 {
     Builder.BuildConnection();
     Builder.BuildCommand();
     Builder.SetSettings();
 }