Пример #1
0
        public ActionResult ExportSql(Guid?id)
        {
            var m = new QueryModel(id, CurrentDatabase);
            var q = CurrentDatabase.PeopleQueryCondition(m.TopClause);

            return(Content(CurrentDatabase.GetWhereClause(q), "text/plain"));
        }