Exemple #1
0
        private static TestExecution CreateFromFilter(IQueryFilter filter, Database database = null)
        {
            Database db  = database ?? Db.For <TestExecution>();
            var      dao = new TestExecution();

            filter.Parameters.Each(p =>
            {
                dao.Property(p.ColumnName, p.Value);
            });
            dao.Save(db);
            return(dao);
        }