Beispiel #1
0
 private static IEnumerable <string> SchemaActionDefinitions(this SchemaAction source)
 {
     if (SchemaAction.None.Equals(source))
     {
         yield return("none");
     }
     else
     {
         if (source.Has(SchemaAction.Drop))
         {
             yield return("drop");
         }
         if (source.Has(SchemaAction.Update))
         {
             yield return("update");
         }
         if (source.Has(SchemaAction.Export))
         {
             yield return("export");
         }
         if (source.Has(SchemaAction.Validate))
         {
             yield return("validate");
         }
     }
 }