private bool IsCreatable(SqlObject sqlObject)
 {
     switch (sqlObject.ObjectType)
     {
         case ObjectType.SqlInlineTableValuedFunction:
         case ObjectType.SqlScalarFunction:
         case ObjectType.SqlTableValuedFunction:
         case ObjectType.SqlStoredProcedure:
         case ObjectType.View:
         case ObjectType.SqlDMLTrigger:
         case ObjectType.Table:
         case ObjectType.TableType:
             return true;
         default:
             return false;
     }
 }
 public DeleteCommand(SqlObject o)
 {
     Object = o;
 }