Ejemplo n.º 1
0
 private void CreateObjects <T>(List <T> objects, GenerateSqlObjectOptions options, Action <T> create)
 {
     if (options.Create)
     {
         objects.ForEach(x => create(x));
     }
 }
Ejemplo n.º 2
0
 private void DropObjects <T>(List <T> objects, GenerateSqlObjectOptions options, Action <T, bool> drop)
 {
     if (options.Drop)
     {
         objects.ForEach(x => drop(x, options.CheckExists));
     }
 }