Exemplo n.º 1
0
        private void TransformUpdateEntityByExpressToSql <T>(object update, Expression <Func <T, bool> > where) where T : class, new()
        {
            string updateSQL = UpdateByExpress(update, where);

            AppLogger.Log("UpdateEntityByExpress:" + updateSQL);
        }
Exemplo n.º 2
0
        internal void TransformExpressDeleteToSQL <T>(Expression <Func <T, bool> > lamb) where T : class, new()
        {
            string deleteSQL = DeleteByExpress(lamb);

            AppLogger.Log("TransformExpressDeleteToSQL:" + deleteSQL);
        }